mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 09:33:32 +01:00
refactor: rename events to be consistent with WS names (#6010)
Co-authored-by: Noel <buechler.noel@outlook.com>
This commit is contained in:
@@ -93,7 +93,7 @@ const tests = [
|
||||
(m, hook) => hook.send('Done!'),
|
||||
];
|
||||
|
||||
client.on('message', async message => {
|
||||
client.on('messageCreate', async message => {
|
||||
if (message.author.id !== owner) return;
|
||||
const match = message.content.match(/^do (.+)$/);
|
||||
const hooks = [
|
||||
|
||||
Reference in New Issue
Block a user