This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log('[INFO] Loading...') | |
const Discord = require('discord.js') | |
const client = new Discord.Client() | |
client.on('ready', function () { | |
if (client.user.bot) throw new TypeError('User is not a bot') | |
console.log('[INFO] Bot is ready and running') | |
if (client.presences.status === 'offline') { | |
client.user.setPresence({status: 'invisible'}) |
NewerOlder