aboutsummaryrefslogtreecommitdiff
path: root/src/commands/owner/reload.ts
diff options
context:
space:
mode:
authorTymanWasTaken <tyman@tyman.tech>2021-05-16 22:03:18 -0400
committerTymanWasTaken <tyman@tyman.tech>2021-05-16 22:03:18 -0400
commit759e93bec4e9e2eb86db7434007345c24b0a0252 (patch)
tree193c47e5dfc6bcce0f4923ea0d2f8f7ce2e5894a /src/commands/owner/reload.ts
parent284e1d1d693486f6c50cdb8b38f01cdf74eb63d2 (diff)
downloadtanzanite-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/reload.ts')
-rw-r--r--src/commands/owner/reload.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/owner/reload.ts b/src/commands/owner/reload.ts
index 2311424..6fdd74c 100644
--- a/src/commands/owner/reload.ts
+++ b/src/commands/owner/reload.ts
@@ -1,6 +1,6 @@
import { BotCommand } from '../../lib/extensions/BotCommand';
import { stripIndent } from 'common-tags';
-import { BotMessage } from '../../lib/extensions/BotMessage';
+import { Message } from 'discord.js';
export default class ReloadCommand extends BotCommand {
constructor() {
@@ -16,7 +16,7 @@ export default class ReloadCommand extends BotCommand {
});
}
- public async exec(message: BotMessage): Promise<void> {
+ public async exec(message: Message): Promise<void> {
try {
await this.client.util.shell('yarn rimraf dist/');
await this.client.util.shell('yarn tsc');