Updated event message to messageCreate

This commit is contained in:
Christer Warén 2021-08-04 10:18:43 +03:00
parent 0c5fdcd651
commit 2de365770d

View File

@ -50,7 +50,7 @@ class RadioClient extends Client {
require(`${events}ready`).execute(this, Discord);
this.datastore = new Datastore();
});
this.on("message", msg => {
this.on("messageCreate", msg => {
require(`${events}msg`).execute(this, msg, Discord);
});
this.on("voiceStateUpdate", (oldState, newState) => {