diff options
| author | 8cy <[email protected]> | 2020-05-09 20:07:01 -0700 |
|---|---|---|
| committer | 8cy <[email protected]> | 2020-05-09 20:07:01 -0700 |
| commit | 54da8d67bb4747b1e01cf83609d237b3318d266e (patch) | |
| tree | e2bfe74910ce1a34565889686ff49a46cb10f400 /src/bot.ts | |
| parent | add google, suggest + add suggest to joinmsg (diff) | |
| download | dep-core-54da8d67bb4747b1e01cf83609d237b3318d266e.tar.xz dep-core-54da8d67bb4747b1e01cf83609d237b3318d266e.zip | |
update formatting for support and joinmsg
Diffstat (limited to 'src/bot.ts')
| -rw-r--r-- | src/bot.ts | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -9,6 +9,7 @@ mongoose.connect('mongodb://sin:[email protected]:47107/herok import path from 'path'; // @ts-ignore emoji-random doesnt have types import emoji from 'emoji-random'; +import { MessageEmbed } from 'discord.js'; require('./models/MusicGuild.js') const client = new CommandoClient({ @@ -82,7 +83,9 @@ client.on('warn', console.warn) client.on('guildCreate', guild => { console.log(`Joined server: ${guild.name}`) - guild.owner?.send('Hi! Thank you for inviting my bot to your server! To view the complete list of commands, do `uwu!help`. If you\'d like, you can also change the prefix using `uwu!prefix change <prefix>`. If you want to contact the lead developer for possible suggestions or to report a bug, please join the support server: https://crack.cf/uwufier-support. You can also do `uwu!suggest <thing>.` ' + emoji.random()) + let embed = new MessageEmbed() + .setDescription(`Hi! Thank you for inviting uwufier to your server! To view the complete list of commands, do \`uwu!help\`. If you want to contact the lead developer for possible suggestions or to report a bug, please join the [support server](https://discord.com/invite/DVwXUwx). You can also do \`uwu!suggest<thing>\`. If you like the bot, please support the bot on our [top.gg page](https://top.gg/bot/699473263998271489/vote) or our [DBL page](https://discordbotlist.com/bots/699473263998271489/upvote)! ${emoji.random()}`) + guild.owner?.send(embed) //@ts-ignore client.guilds.cache.get('704032355987488791')?.channels.cache.get('706818034999754792')?.send(`Joined server: **${guild.name}**.`) }) |