@ -14,7 +14,7 @@ class tokenCommand extends Command {
}
asyncexec(message){
lettrollMessage=["Sick you thought <:youngtroll:488559163832795136>","OWNED EPIC STYLE <:youngtroll:488559163832795136>","NDg3MzQyOD__NOPE__pkz5_ck","Did you think i was that dumb?"];
lettrollMessage=['Sick you thought <:youngtroll:488559163832795136>','OWNED EPIC STYLE <:youngtroll:488559163832795136>','NDg3MzQyOD__NOPE__pkz5_ck','Did you think i was that dumb?'];
returnmessage.channel.send(`${response.message}, you probably didin't input the correct language code, you can check them here! https://tech.yandex.com/translate/doc/dg/concepts/api-overview-docpage/`)
returnmessage.channel.send(`${response.message}, you probably didin't input the correct language code, you can check them here! https://tech.yandex.com/translate/doc/dg/concepts/api-overview-docpage/`);
elseif(response.code!='200')
returnmessage.channel.send('An error has occured')
returnmessage.channel.send('An error has occured');
consttranslationEmbed=newDiscord.RichEmbed()
@ -54,7 +53,7 @@ class TranslationCommand extends Command {
console.log(`\x1b[32mLogged in as \x1b[34m${client.user.tag}\x1b[0m! (\x1b[33m${client.user.id}\x1b[0m)`);
console.log(`Ready to serve in \x1b[33m${client.channels.size}\x1b[0m channels on \x1b[33m${client.guilds.size}\x1b[0m servers, for a total of \x1b[33m${client.users.size}\x1b[0m users. \x1b${client.readyAt}\x1b[0m`);
// Send stats to the "stats" channel in the support server if its not the test bot
// Send stats to the 'stats' channel in the support server if its not the test bot
if(client.user.id==377563711927484418){
constchannel=client.channels.get(statsChannel);
channel.send(`Ready to serve in ${client.channels.size} channels on ${client.guilds.size} servers, for a total of ${client.users.size} users. ${client.readyAt}`);
@ -10,19 +10,20 @@ class CommandBlockedListener extends Listener {
exec(message,command,reason){
console.log(`${message.author.username} was blocked from using ${command.id} because of ${reason}!`);
letownerMessage;
switch(reason){
case"Owner":
letownerMessage=["Nice try but you aren't the owner <a:memed:433320880135733248>","LOADING SUPER SECRET COMMAND <a:loadingmin:527579785212329984> Wait a minute... you aren't the owner!","uhm, how about no"];
ownerMessage=['Nice try but you aren\'t the owner <a:memed:433320880135733248>','LOADING SUPER SECRET COMMAND <a:loadingmin:527579785212329984> Wait a minute... you aren\'t the owner!','uhm, how about no'];