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:
Antonio Román
2021-07-04 20:54:27 +02:00
committed by GitHub
parent 281072be44
commit a7c6678c72
95 changed files with 963 additions and 963 deletions

View File

@@ -13,9 +13,9 @@ client.on('ready', async () => {
{ name: 'afk channel', type: 'voice', id: 0 },
{ name: 'system-channel', id: 1 },
],
afkChannelID: 0,
afkChannelId: 0,
afkTimeout: 60,
systemChannelID: 1,
systemChannelId: 1,
});
console.log(guild.id);
assert.strictEqual(guild.afkChannel.name, 'afk channel');

View File

@@ -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(

View File

@@ -13,7 +13,7 @@ client
console.log('no templates');
} else {
const guild = await templates.first().createGuild('guild name');
console.log(`created guild with ID ${guild.id}`);
console.log(`created guild with id ${guild.id}`);
await guild.delete();
console.log('deleted guild');
}