mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Bridged WebSocket Events and REST Requests. Now REST Requests will respond exactly like WS Events to data
This commit is contained in:
@@ -71,7 +71,7 @@ client.on('typingStop.', (channel, user, data) => {
|
||||
client.on('message', message => {
|
||||
if (message.author.username === 'hydrabolt') {
|
||||
message.channel.sendMessage('test').then(msg => {
|
||||
msg.delete();
|
||||
msg.delete().catch(console.log);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user