From 4881741dea7aabedb54f7f36576500d7eba55424 Mon Sep 17 00:00:00 2001 From: Lio Young Date: Thu, 13 May 2021 14:43:49 +0200 Subject: [PATCH] stuff --- src/content/emojis.json | 20 ++++++++++++++++++++ src/content/status.json | 6 +++--- src/modules/info/about.ts | 3 ++- src/modules/info/user.ts | 18 ++++++++++++++++++ src/modules/misc/donate.ts | 22 ++++++++++++++++++++++ 5 files changed, 65 insertions(+), 4 deletions(-) create mode 100644 src/content/emojis.json create mode 100644 src/modules/info/user.ts create mode 100644 src/modules/misc/donate.ts diff --git a/src/content/emojis.json b/src/content/emojis.json new file mode 100644 index 0000000..ac885fc --- /dev/null +++ b/src/content/emojis.json @@ -0,0 +1,20 @@ +{ + "WHITE_SMALL_SQUARE": ":white_small_square:", + "FLAGS": { + "DISCORD_EMPLOYEE": "<:thaldrinStaffDiscord:841373486982758431>", + "PARTNERED_SERVER_OWNER": "<:thaldrinPartnerDiscord:841373738519625799>", + "DISCORD_PARTNER": "<:thaldrinPartnerDiscord:841373738519625799>", + "HYPESQUAD_EVENTS": "<:thaldrinHypesquad:841373586103336990>", + "BUGHUNTER_LEVEL_1": "<:thaldrinBugHunter:841373410277457960>", + "HOUSE_BRAVERY": "<:thaldrinBraveryDiscord:841373001663643690>", + "HOUSE_BRILLIANCE": "<:thaldrinBrillianceDiscord:841373251233906708>", + "HOUSE_BALANCE": "<:thaldrinBalanceDiscord:841373146724040715>", + "EARLY_SUPPORTER": "<:thaldrinEarlySupporterDiscord:841372877584072774>", + "TEAM_USER": "", + "SYSTEM": "", + "BUGHUNTER_LEVEL_2": "<:thaldrinBugHunter2Discord:841377828469866536>", + "VERIFIED_BOT": "<:thaldrinVerifiedBotDiscord:841377445537513542>", + "EARLY_VERIFIED_BOT_DEVELOPER": "<:thaldrinVerifiedDevDiscord:841372708868063282>", + "VERIFIED_DEVELOPER": "" + } +} diff --git a/src/content/status.json b/src/content/status.json index e2a37f4..5cf2c11 100644 --- a/src/content/status.json +++ b/src/content/status.json @@ -4,7 +4,7 @@ "type": "LISTENING" }, { - "state": "{GUILDAMOUNT} Servers", + "state": "GUILDS Servers", "type": "LISTENING" }, { @@ -28,7 +28,7 @@ "type": "WATCHING" }, { - "state": "Caecus", - "type": "LISTENING" + "state": "Caecus fight", + "type": "WATCHING" } ] diff --git a/src/modules/info/about.ts b/src/modules/info/about.ts index 35fb656..2880c1b 100644 --- a/src/modules/info/about.ts +++ b/src/modules/info/about.ts @@ -35,7 +35,8 @@ export = class Info extends Command { } let InfoEmbed = new MessageEmbed() .setDescription(` - Made by ${devs}`) + Made by ${devs}\n + A [Caecus](https://werewolf.design) Project\n[Consider supporting the Development of this Bot](https://lio.cat/support)`) .addField("Contributors", `${contribs}`, false) .addField("Source", config.variables.source, true) .addField("Support Server", `[${ctx.client.guilds.cache.get(ctx.config.variables.support.id)?.name}](${ctx.config.variables.support.invite})`, true) diff --git a/src/modules/info/user.ts b/src/modules/info/user.ts new file mode 100644 index 0000000..4c32d93 --- /dev/null +++ b/src/modules/info/user.ts @@ -0,0 +1,18 @@ +import Command from '../../handler/structures/Command'; +import { Context } from '../../utils/types'; +import lingua from '../../utils/lingua'; + +export = class User extends Command { + constructor() { + super({ + name: "user", + description: "Get Information about a User", + cooldown: 1, + }) + } + + async command(ctx: Context) { + // ! + // let badges = ctx.client.users.cache.get(ID).flags.toArray() + } +} \ No newline at end of file diff --git a/src/modules/misc/donate.ts b/src/modules/misc/donate.ts new file mode 100644 index 0000000..430dae8 --- /dev/null +++ b/src/modules/misc/donate.ts @@ -0,0 +1,22 @@ +import Command from "../../handler/structures/Command"; +import { Context } from "../../utils/types"; +import lingua from "../../utils/lingua"; +import replace from "../../utils/replace"; +import Roll from 'roll' +import { MessageEmbed } from "discord.js"; +const roll = new Roll() + +export = class Donate extends Command { + constructor() { + super({ + name: "donate", + description: "See ways to support Thaldrin's Development", + cooldown: 1, + }); + } + + async command(ctx: Context) { + let embed = new MessageEmbed().setColor(ctx.config.variables.color).setFooter(`${ctx.config.variables.name}`, ctx.config.variables.avatar) + embed.setTitle(`Donate`) + }; +}