mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 01:23:31 +01:00
fix(Message): make #channel and #guild getters (#6271)
This commit is contained in:
@@ -58,7 +58,7 @@ class ReactionManager extends CachedManager {
|
||||
* @returns {Promise<Message>}
|
||||
*/
|
||||
async removeAll() {
|
||||
await this.client.api.channels(this.message.channel.id).messages(this.message.id).reactions.delete();
|
||||
await this.client.api.channels(this.message.channelId).messages(this.message.id).reactions.delete();
|
||||
return this.message;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user