v2.0 #55

Merged
Vylpes merged 73 commits from develop into main 2021-10-04 19:45:15 +01:00
3 changed files with 7 additions and 1 deletions
Showing only changes of commit 9579ca837f - Show all commits

View file

@ -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

View file

@ -103,6 +103,7 @@ export class Util {
client.on('message', event.message);
client.on('messageDelete', event.messageDelete);
client.on('messageUpdate', event.messageUpdate);
client.on('ready', event.ready);
}
}

View file

@ -48,4 +48,8 @@ export class Event {
public messageUpdate(oldMessage: Message | PartialMessage, newMessage: Message | PartialMessage) {
}
}
public ready() {
}
}