summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author8cy <[email protected]>2020-05-09 20:07:01 -0700
committer8cy <[email protected]>2020-05-09 20:07:01 -0700
commit54da8d67bb4747b1e01cf83609d237b3318d266e (patch)
treee2bfe74910ce1a34565889686ff49a46cb10f400 /src
parentadd google, suggest + add suggest to joinmsg (diff)
downloaddep-core-54da8d67bb4747b1e01cf83609d237b3318d266e.tar.xz
dep-core-54da8d67bb4747b1e01cf83609d237b3318d266e.zip
update formatting for support and joinmsg
Diffstat (limited to 'src')
-rw-r--r--src/bot.ts5
-rw-r--r--src/commands/bot/joinmessage.ts5
-rw-r--r--src/commands/bot/support.ts2
-rw-r--r--src/config.json2
4 files changed, 10 insertions, 4 deletions
diff --git a/src/bot.ts b/src/bot.ts
index cd085b5..f5e09ab 100644
--- a/src/bot.ts
+++ b/src/bot.ts
@@ -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}**.`)
})
diff --git a/src/commands/bot/joinmessage.ts b/src/commands/bot/joinmessage.ts
index fe55627..4de424f 100644
--- a/src/commands/bot/joinmessage.ts
+++ b/src/commands/bot/joinmessage.ts
@@ -1,5 +1,6 @@
import { Command, CommandoMessage } from 'discord.js-commando';
import emoji from 'emoji-random';
+import { MessageEmbed } from 'discord.js';
module.exports = class InviteBot extends Command {
constructor(client) {
@@ -24,6 +25,8 @@ module.exports = class InviteBot extends Command {
});
}
run(msg: CommandoMessage) {
- msg.reply('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()}`)
+ msg.say(embed)
}
}; \ No newline at end of file
diff --git a/src/commands/bot/support.ts b/src/commands/bot/support.ts
index 7efe2d8..9475295 100644
--- a/src/commands/bot/support.ts
+++ b/src/commands/bot/support.ts
@@ -20,7 +20,7 @@ module.exports = class SupportBot extends Command {
}
run(msg: CommandoMessage) {
let emb = new MessageEmbed()
- .setDescription(`For support, please join [this Discord server](https://crack.cf/uwufier-support). ${emoji.random()}`)
+ .setDescription(`For support, please join [this Discord server](https://discord.com/invite/DVwXUwx). ${emoji.random()}`)
msg.say(emb)
}
};
diff --git a/src/config.json b/src/config.json
index c6aed3b..1484d42 100644
--- a/src/config.json
+++ b/src/config.json
@@ -1,7 +1,7 @@
{
"secret":"Njk5NDczMjYzOTk4MjcxNDg5.XpU5oQ.btZuxVudhNllSQY6CxrXXtMJm9A",
"yt-api-key":"AIzaSyCeG1lQAeInv4vjFv_eTL9IFAFNdQC9Nk8",
- "version":"1.10.11",
+ "version":"1.10.12",
"fortniteTrackerNetworkToken": "4cf21f95-5f1a-412a-b4a7-e5424adc314a",
"maxMultipler": 100,
"minMultipler": 1.01