From fc390ffc300334c396d9d06b0feaf8fbc6ed2814 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Sun, 26 Dec 2021 17:16:32 -0500 Subject: documentation, bug fixes etc --- src/commands/config/log.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/commands/config/log.ts') diff --git a/src/commands/config/log.ts b/src/commands/config/log.ts index 6121ad7..52cb8f5 100644 --- a/src/commands/config/log.ts +++ b/src/commands/config/log.ts @@ -22,11 +22,12 @@ export default class LogCommand extends BushCommand { }, { id: 'channel', - description: 'The channel to have logs of the seleted type to be sent in.', + description: 'The channel to have logs of the selected type to be sent in.', type: 'channel', prompt: 'What channel would you like these logs to be sent in?', slashType: 'CHANNEL', - channelTypes: ['GUILD_TEXT', 'GUILD_NEWS', 'GUILD_NEWS_THREAD', 'GUILD_PUBLIC_THREAD', 'GUILD_PRIVATE_THREAD'] + channelTypes: ['GUILD_TEXT', 'GUILD_NEWS', 'GUILD_NEWS_THREAD', 'GUILD_PUBLIC_THREAD', 'GUILD_PRIVATE_THREAD'], + only: 'slash' } ], channel: 'guild', @@ -35,7 +36,7 @@ export default class LogCommand extends BushCommand { }); } - override *args(): IterableIterator { + public override *args(): IterableIterator { const log_type = yield { id: 'log_type', type: guildLogsArr, -- cgit