chore(Deps): upgrade deps (#4701)

This commit is contained in:
Noel
2020-08-14 21:46:23 +02:00
committed by GitHub
parent 178439ef8c
commit dea48d64a5
12 changed files with 11320 additions and 51 deletions

View File

@@ -330,10 +330,7 @@ class TextBasedChannel {
}
if (messageIDs.length === 0) return new Collection();
if (messageIDs.length === 1) {
await this.client.api
.channels(this.id)
.messages(messageIDs[0])
.delete();
await this.client.api.channels(this.id).messages(messageIDs[0]).delete();
const message = this.client.actions.MessageDelete.getMessage(
{
message_id: messageIDs[0],