diff --git a/src/commands/mikandev.ts b/src/commands/mikandev.ts index 3892e8c..c141add 100644 --- a/src/commands/mikandev.ts +++ b/src/commands/mikandev.ts @@ -13,7 +13,7 @@ const prisma = new PrismaClient(); export default { name: "mikandev", description: "Manage your MikanDev account", - cooldown: 0, + cooldown: 3, isPremium: false, botPermissions: [], userPermissions: [], diff --git a/src/commands/premping.ts b/src/commands/premping.ts deleted file mode 100644 index 9618aaa..0000000 --- a/src/commands/premping.ts +++ /dev/null @@ -1,23 +0,0 @@ -import type { CommandInteraction } from "discord.js"; - -export default { - name: "premping", - description: "Ping but its premium!", - cooldown: 0, - isPremium: true, - botPermissions: [], - userPermissions: [], - validations: [], - slashCommand: { - enabled: true, - options: [], - }, - interactionRun: async (interaction: CommandInteraction) => { - const ping = Math.abs(Math.round(interaction.client.ws.ping)); - await interaction.reply("Loading..."); - const roundtrip = Math.abs(Date.now() - interaction.createdTimestamp); - interaction.editReply( - `API Latency: ${ping}ms\nRoundtrip: ${roundtrip}ms`, - ); - }, -}; diff --git a/src/commands/rank.ts b/src/commands/rank.ts index d0380fa..ce3c3ba 100644 --- a/src/commands/rank.ts +++ b/src/commands/rank.ts @@ -32,7 +32,7 @@ function getXPfromLevel(level: number): number { export default { name: "rank", description: "Check your rank!", - cooldown: 0, + cooldown: 3, isPremium: false, botPermissions: [], userPermissions: [],