mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-18 21:40:49 +02:00
Okay, it's weird, but don't await that
This commit is contained in:
@@ -24,8 +24,8 @@ module.exports = class InfoCommand extends commando.Command {
|
|||||||
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES', 'EMBED_LINKS'])) return;
|
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES', 'EMBED_LINKS'])) return;
|
||||||
}
|
}
|
||||||
console.log(`[Command] ${message.content}`);
|
console.log(`[Command] ${message.content}`);
|
||||||
await this.client.shard.fetchClientValues('guilds.size').then(guilds => {
|
this.client.shard.fetchClientValues('guilds.size').then(guilds => {
|
||||||
await this.client.shard.fetchClientValues('voiceConnections.size').then(vCConnections => {
|
this.client.shard.fetchClientValues('voiceConnections.size').then(vCConnections => {
|
||||||
const embed = new Discord.RichEmbed()
|
const embed = new Discord.RichEmbed()
|
||||||
.setTitle('Welcome to XiaoBot!')
|
.setTitle('Welcome to XiaoBot!')
|
||||||
.setAuthor(this.client.user.username, this.client.user.avatarURL)
|
.setAuthor(this.client.user.username, this.client.user.avatarURL)
|
||||||
|
|||||||
Reference in New Issue
Block a user