mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 10:03:31 +01:00
refactor: change xID to xId (#6036)
* refactor: change `xID` to `xId` * Update src/managers/MessageManager.js Co-authored-by: Noel <buechler.noel@outlook.com> Co-authored-by: Noel <buechler.noel@outlook.com>
This commit is contained in:
@@ -245,8 +245,8 @@ client.on('messageReactionRemove', (reaction, user) => {
|
||||
|
||||
client.on('messageCreate', m => {
|
||||
if (m.content.startsWith('#reactions')) {
|
||||
const mID = m.content.split(' ')[1];
|
||||
m.channel.messages.fetch(mID).then(rM => {
|
||||
const mId = m.content.split(' ')[1];
|
||||
m.channel.messages.fetch(mId).then(rM => {
|
||||
for (const reaction of rM.reactions.cache.values()) {
|
||||
reaction.users.fetch().then(users => {
|
||||
m.channel.send(
|
||||
|
||||
Reference in New Issue
Block a user