diff options
author | TymanWasTaken <tyman@tyman.tech> | 2021-05-16 22:03:18 -0400 |
---|---|---|
committer | TymanWasTaken <tyman@tyman.tech> | 2021-05-16 22:03:18 -0400 |
commit | 759e93bec4e9e2eb86db7434007345c24b0a0252 (patch) | |
tree | 193c47e5dfc6bcce0f4923ea0d2f8f7ce2e5894a /src/commands/owner/eval.ts | |
parent | 284e1d1d693486f6c50cdb8b38f01cdf74eb63d2 (diff) | |
download | tanzanite-759e93bec4e9e2eb86db7434007345c24b0a0252.tar.gz tanzanite-759e93bec4e9e2eb86db7434007345c24b0a0252.tar.bz2 tanzanite-759e93bec4e9e2eb86db7434007345c24b0a0252.zip |
fix logging for slash command syncing v2, delete BotMessage and BotGuild because useless, add prefix slash command
Diffstat (limited to 'src/commands/owner/eval.ts')
-rw-r--r-- | src/commands/owner/eval.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/commands/owner/eval.ts b/src/commands/owner/eval.ts index f1ada89..44326b2 100644 --- a/src/commands/owner/eval.ts +++ b/src/commands/owner/eval.ts @@ -3,7 +3,6 @@ import { BotCommand } from '../../lib/extensions/BotCommand'; import { MessageEmbed, Message } from 'discord.js'; import { inspect, promisify } from 'util'; import { exec } from 'child_process'; -import { BotMessage } from '../../lib/extensions/BotMessage'; const clean = (text) => { if (typeof text === 'string') @@ -52,7 +51,7 @@ export default class EvalCommand extends BotCommand { } public async exec( - message: BotMessage, + message: Message, { depth, code, silent }: { depth: number; code: string; silent: boolean } ): Promise<void> { const embed: MessageEmbed = new MessageEmbed(); |