mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-22 22:13:16 +00:00
Updated event message to messageCreate
This commit is contained in:
parent
0c5fdcd651
commit
2de365770d
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user