mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-23 01:53:17 +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);
|
require(`${events}ready`).execute(this, Discord);
|
||||||
this.datastore = new Datastore();
|
this.datastore = new Datastore();
|
||||||
});
|
});
|
||||||
this.on("message", msg => {
|
this.on("messageCreate", msg => {
|
||||||
require(`${events}msg`).execute(this, msg, Discord);
|
require(`${events}msg`).execute(this, msg, Discord);
|
||||||
});
|
});
|
||||||
this.on("voiceStateUpdate", (oldState, newState) => {
|
this.on("voiceStateUpdate", (oldState, newState) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user