Feature/ts #42
3 changed files with 7 additions and 1 deletions
|
@ -96,6 +96,7 @@ The following events are supported:
|
|||
* message(message: Message)
|
||||
* messageDelete(message: Message | PartialMessage)
|
||||
* messageUpdate(oldMessage: Message | PartialMessage, newMessage: Message | PartialMessage)
|
||||
* ready()
|
||||
|
||||
All parameters are supplied from discord.js
|
||||
|
||||
|
|
|
@ -103,6 +103,7 @@ export class Util {
|
|||
"Member is not part of message" "Member is not part of message"
|
||||
client.on('message', event.message);
|
||||
client.on('messageDelete', event.messageDelete);
|
||||
client.on('messageUpdate', event.messageUpdate);
|
||||
client.on('ready', event.ready);
|
||||
"Member is not part of message" "Member is not part of message"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|||
"Member is not part of message" "Member is not part of message"
"Member is not part of message" "Member is not part of message"
|
|
@ -48,4 +48,8 @@ export class Event {
|
|||
public messageUpdate(oldMessage: Message | PartialMessage, newMessage: Message | PartialMessage) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public ready() {
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue
"Member is not part of message"