| 48 | } |
| 49 | |
| 50 | async botReadyLog() { |
| 51 | const embed = new MessageEmbed() |
| 52 | .setAuthor(this.client.user.username, this.client.user.displayAvatarURL()) |
| 53 | .setColor(this.client.settings.get('colors.yellow')) |
| 54 | .setTimestamp() |
| 55 | .setFooter('Bot restarted'); |
| 56 | |
| 57 | const globalLog = await this.client.channels.cache.get(this.client.settings.get('channels.globalLog')); |
| 58 | if (globalLog) await globalLog.send('', { disableEveryone: true, embed: embed }); |
| 59 | |
| 60 | return; |
| 61 | } |
| 62 | |
| 63 | async setControlGuild() { |
| 64 | await this.client.emit('verbose', 'Setting control guild.'); |