mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 03:53:29 +01:00
updated readme
This commit is contained in:
@@ -14,13 +14,14 @@ This node module is still in alpha, and some methods and functions may change or
|
|||||||
|
|
||||||
### Features
|
### Features
|
||||||
|
|
||||||
* Send, Receive and Delete messages from channels _and_ DMs! Auto-initiates DMs for you!
|
* Send, Receive Delete and **Edit** messages from channels _and_ DMs! Auto-initiates DMs for you!
|
||||||
* Create, Delete and Leave servers and channels
|
* Create, Delete and Leave servers and channels
|
||||||
* Create invites for Servers
|
* Create invites for Servers
|
||||||
* Silent Mention - trigger mention notification without actually @mentioning a user!
|
* Silent Mention - trigger mention notification without actually @mentioning a user!
|
||||||
* Get complete metadata on users, channels and servers - including avatars.
|
* Get complete metadata on users, channels and servers - including avatars.
|
||||||
* Get limitless logs from channels.
|
* Get limitless logs from channels.
|
||||||
* Fast and efficient caching
|
* Fast and efficient caching
|
||||||
|
* Auto-cache messages
|
||||||
|
|
||||||
### Example usage
|
### Example usage
|
||||||
```js
|
```js
|
||||||
|
|||||||
@@ -40,7 +40,6 @@ hydrabot.on( "ready", function() {
|
|||||||
hydrabot.on( "disconnected", function( obj ) {
|
hydrabot.on( "disconnected", function( obj ) {
|
||||||
// Say we couldn't connect and then exit
|
// Say we couldn't connect and then exit
|
||||||
console.log( "Disconnected - " + obj.reason );
|
console.log( "Disconnected - " + obj.reason );
|
||||||
console.log(obj.error);
|
|
||||||
process.exit( 0 );
|
process.exit( 0 );
|
||||||
} );
|
} );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user