mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 04:10:59 -05:00
Removed the comments from someone who hurt my feelings
This commit is contained in:
parent
68f9572efd
commit
af6925337f
@ -61,7 +61,7 @@ export default async(client:TClient,Channel:string,Message:string,ServerName:str
|
||||
var n = Number(number);
|
||||
return n.toLocaleString(undefined, {minimumFractionDigits: digits})+icon
|
||||
}
|
||||
// Join/Leave log - Dorime to tae for examples :dorime:
|
||||
// Join/Leave log
|
||||
function playerLogEmbed(player:FSPlayer,joinLog:boolean){
|
||||
const logEmbed = new client.embed().setDescription(`**${player.name} ${player.isAdmin ? '| admin' : ''}** ${joinLog ? 'joined' : 'left'} **${ServerName}** at <t:${Math.round(Date.now()/1000)}:t>`);
|
||||
if (joinLog) return logEmbed.setColor(client.config.embedColorGreen);
|
||||
|
@ -216,4 +216,3 @@ export class WClient extends WebhookClient {
|
||||
this.tokens = tokens as Tokens;
|
||||
}
|
||||
}
|
||||
// hi tae, ik you went to look for secret hello msgs in here too.
|
@ -21,7 +21,7 @@ client.on('ready', async()=>{
|
||||
};
|
||||
console.log(`${client.user.username} has logged into Discord API`);
|
||||
console.log(client.config.botSwitches, client.config.whitelistedServers);
|
||||
(client.channels.resolve(client.config.mainServer.channels.bot_status) as Discord.TextChannel).send({content: `${client.user.username} is active`, embeds:[new client.embed().setColor(client.config.embedColor).setDescription(`\`\`\`json\n${Object.entries(client.config.botSwitches).map(hiTae=>`${hiTae[0]}: ${hiTae[1]}`).join('\n')}\`\`\``)]});
|
||||
(client.channels.resolve(client.config.mainServer.channels.bot_status) as Discord.TextChannel).send({content: `${client.user.username} is active`, embeds:[new client.embed().setColor(client.config.embedColor).setDescription(`\`\`\`json\n${Object.entries(client.config.botSwitches).map(x=>`${x[0]}: ${x[1]}`).join('\n')}\`\`\``)]});
|
||||
console.timeEnd('Startup')
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user