From 0f4d9fd6666b72e8adac3fc50e15ce2340277e4a Mon Sep 17 00:00:00 2001 From: 8cy <50817549+8cy@users.noreply.github.com> Date: Thu, 1 Oct 2020 18:16:36 -0700 Subject: maintainence: change urls and name --- server/src/commands/bot/Fuwn.ts | 35 ++++++++++++++++++++++++++++ server/src/commands/bot/Info.ts | 2 +- server/src/commands/bot/Invite.ts | 2 +- server/src/commands/bot/Sin.ts | 35 ---------------------------- server/src/commands/mod/Ban.ts | 4 ++-- server/src/commands/mod/Kick.ts | 4 ++-- server/src/commands/owner/IP.ts | 2 +- server/src/commands/server/PFP.ts | 4 ++-- server/src/commands/server/User.ts | 2 +- server/src/listeners/client/ReadyListener.ts | 4 ---- 10 files changed, 45 insertions(+), 49 deletions(-) create mode 100644 server/src/commands/bot/Fuwn.ts delete mode 100644 server/src/commands/bot/Sin.ts (limited to 'server/src') diff --git a/server/src/commands/bot/Fuwn.ts b/server/src/commands/bot/Fuwn.ts new file mode 100644 index 0000000..5f98733 --- /dev/null +++ b/server/src/commands/bot/Fuwn.ts @@ -0,0 +1,35 @@ +import { Command } from 'discord-akairo'; +import { Message } from 'discord.js'; +import { colour } from '../../Config'; +import { stripIndents } from 'common-tags'; + +export default class FuwnBot extends Command { + public constructor() { + super('fuwn', { + aliases: ['fuwn', "dev", "developer"], + category: 'bot', + description: { + content: 'Will get you more information about Fuwn, the lead developer.', + usage: '', + examples: [ + '' + ] + }, + ratelimit: 3 + }); + } + + public exec(msg: Message): Promise { + const embed = this.client.util.embed() + .setColor(colour) + .addField('Fuwn\'s Stuff', stripIndents` + 💎 [GitHub](https://github.com/8cy) + 🎀 [NPM](https://www.npmjs.com/~sinny) + 🎨 [Twitter](https://twitter.com/_fuwn) + 🎁 [Website](https://fuwn.me) + ✨ [YouTube](https://youtube.com/Fuwny) + 🎐 [Top.gg Vote](https://discordbots.org/bot/699473263998271489/vote) + `, false) + return msg.channel.send(embed); + } +} \ No newline at end of file diff --git a/server/src/commands/bot/Info.ts b/server/src/commands/bot/Info.ts index cda8f7a..577218c 100644 --- a/server/src/commands/bot/Info.ts +++ b/server/src/commands/bot/Info.ts @@ -54,7 +54,7 @@ export default class InfoBot extends Command { [\`Discord.js\`](https://discord.js.org/#/): ${djsversion} `, true) .addField('`👧` Lead Developer', (await this.client.fetchApplication()).owner!.toString(), true) - .setFooter(`For more information about ${this.client.users.resolve(owners[0]).tag}, use ${this.client.commandHandler.prefix}sin`, + .setFooter(`For more information about ${this.client.users.resolve(owners[0]).tag}, use ${this.client.commandHandler.prefix}fuwn`, `${this.client.users.resolve(owners[0]).avatarURL()}`); return msg.channel.send(embed); } diff --git a/server/src/commands/bot/Invite.ts b/server/src/commands/bot/Invite.ts index a25a20c..1751a11 100644 --- a/server/src/commands/bot/Invite.ts +++ b/server/src/commands/bot/Invite.ts @@ -21,7 +21,7 @@ export default class InviteBot extends Command { public exec(msg: Message): Promise { const embed = this.client.util.embed() .setColor(colour) - .setDescription('To invite the bot, please use [this link](https://kyzer.co/discord/bots/uwufier/).'); + .setDescription('To invite the bot, please use [this link](https://discordapp.com/api/oauth2/authorize?client_id=699473263998271489&permissions=8&scope=bot).'); return msg.channel.send(embed); } } \ No newline at end of file diff --git a/server/src/commands/bot/Sin.ts b/server/src/commands/bot/Sin.ts deleted file mode 100644 index 66e1f2f..0000000 --- a/server/src/commands/bot/Sin.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { Command } from 'discord-akairo'; -import { Message } from 'discord.js'; -import { colour } from '../../Config'; -import { stripIndents } from 'common-tags'; - -export default class SinBot extends Command { - public constructor() { - super('sin', { - aliases: ['sin'], - category: 'bot', - description: { - content: 'Will get you more information about Sin, the lead developer.', - usage: '', - examples: [ - '' - ] - }, - ratelimit: 3 - }); - } - - public exec(msg: Message): Promise { - const embed = this.client.util.embed() - .setColor(colour) - .addField('Sin\'s Stuff', stripIndents` - 💎 [GitHub](https://github.com/8cy) - 🎀 [NPM](https://www.npmjs.com/~sinny) - 🎨 [Twitter](https://twitter.com/__cpuid) - 🎁 [Website](https://kyzer.co) - ✨ [YouTube](https://youtube.com/s1nny) - 🎐 [Top.gg Vote](https://discordbots.org/bot/699473263998271489/vote) - `, false) - return msg.channel.send(embed); - } -} \ No newline at end of file diff --git a/server/src/commands/mod/Ban.ts b/server/src/commands/mod/Ban.ts index 18060c4..1c86bfd 100644 --- a/server/src/commands/mod/Ban.ts +++ b/server/src/commands/mod/Ban.ts @@ -10,8 +10,8 @@ export default class BanMod extends Command { content: 'Ban a specified user from the server.', usage: '[user] [reason(s)]', examples: [ - '@sin#1337', - '@sin#1337 too cool' + '@fun#1337', + '@fun#1337 too cool' ] }, ratelimit: 3, diff --git a/server/src/commands/mod/Kick.ts b/server/src/commands/mod/Kick.ts index f19e34f..85e6cea 100644 --- a/server/src/commands/mod/Kick.ts +++ b/server/src/commands/mod/Kick.ts @@ -10,8 +10,8 @@ export default class KickMod extends Command { content: 'Kick a specified user from the server.', usage: '[user] [reason(s)]', examples: [ - '@sin#1337', - '@sin#1337 too cool' + '@fun#1337', + '@fun#1337 too cool' ] }, ratelimit: 3, diff --git a/server/src/commands/owner/IP.ts b/server/src/commands/owner/IP.ts index 244c11f..46e8765 100644 --- a/server/src/commands/owner/IP.ts +++ b/server/src/commands/owner/IP.ts @@ -22,6 +22,6 @@ export default class IPOwner extends Command { public async exec(msg: Message): Promise { let { body } = await request.get('https://api.ipify.org').query({ format: 'json' }); //@ts-ignore - return msg.reply(`${this.client.user.username}'s IP address is **${body.ip}**. *Which script kiddie in chat asked you to send this zzz. -Sin*`); + return msg.reply(`${this.client.user.username}'s IP address is **${body.ip}**. *Which script kiddie in chat asked you to send this zzz. -Fuwn*`); } } \ No newline at end of file diff --git a/server/src/commands/server/PFP.ts b/server/src/commands/server/PFP.ts index 8917c2b..94a54a5 100644 --- a/server/src/commands/server/PFP.ts +++ b/server/src/commands/server/PFP.ts @@ -11,7 +11,7 @@ export default class PFPServer extends Command { content: 'Grabs a specified user\'s profile picture.', usage: '[user]', examples: [ - '@sin#1337' + '@fun#1337' ] }, ratelimit: 3, @@ -48,7 +48,7 @@ export default class PFPServer extends Command { return msg.channel.send(embed); } else { // TODO: Try to fix this part where this isn't being evaluated and shows the pfp no matter what. - if (user.id === owners[0] && user.id !== owners[0]) return msg.reply('Sin is special, their identity shall remain anonymous.'); + if (user.id === owners[0] && user.id !== owners[0]) return msg.reply('Fuwn is special, their identity shall remain anonymous.'); let format = user.displayAvatarURL({ dynamic: true }).substr(user.displayAvatarURL({ dynamic: true}).length - 3); if (format == 'gif') { embed.setAuthor(user.username); diff --git a/server/src/commands/server/User.ts b/server/src/commands/server/User.ts index e18d8ea..ebf97a2 100644 --- a/server/src/commands/server/User.ts +++ b/server/src/commands/server/User.ts @@ -11,7 +11,7 @@ export default class UserServer extends Command { content: 'Grabs information on a specified user.', usage: '[user]', examples: [ - '@sin#1337' + '@fun#1337' ] }, ratelimit: 3, diff --git a/server/src/listeners/client/ReadyListener.ts b/server/src/listeners/client/ReadyListener.ts index 5037ab9..e0a2da6 100644 --- a/server/src/listeners/client/ReadyListener.ts +++ b/server/src/listeners/client/ReadyListener.ts @@ -35,10 +35,6 @@ export default class ReadyListener extends Listener { .reduce((prev, val) => prev + val.memberCount, 0) .toLocaleString('en-US')} Members`, type: 'WATCHING' - }, - { - text: 'kyzer.co', - type: 'WATCHING' } ] -- cgit v1.2.3