Add auto detection for the lock command. #2

Closed
opened 2021-10-13 15:59:21 +02:00 by tygrdev · 1 comment
Owner

Bug

  • When using the lock command, the bot assumes the channel provided is always a text channel.

Fix

  • Discover the channel type and make an if statement depending on what channel it is.
**Bug** - When using the lock command, the bot assumes the channel provided is always a text channel. **Fix** - Discover the channel type and make an `if` statement depending on what channel it is.
Author
Owner

Re-writing the bot in TypeScript. This will be fixed in the re-write.

Re-writing the bot in TypeScript. This will be fixed in the re-write.
Commenting is not possible because the repository is archived.
No description provided.