forked from botlabs-gg/yagpdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cc/threads: fix a few more bugs (botlabs-gg#1685)
* cc/threads: fix createThread archive duration Signed-off-by: SoggySaussages <[email protected]> * cc/threads: allow creation of news threads Signed-off-by: SoggySaussages <[email protected]> * discrdgo: ChannelType.IsThread ret true for news Signed-off-by: SoggySaussages <[email protected]> * cc/threads: error typo Signed-off-by: SoggySaussages <[email protected]> * cc/threads: restrict auto archive dur Previously users could provide any integer between 60 and 10080 as a duration. This caused createThread or editThread to fail given that Discord only permits 60, 1440, 4320, *or* 10080. Now any non permissible value errors. Signed-off-by: SoggySaussages <[email protected]> * discordgo: add type for auto archive Signed-off-by: SoggySaussages <[email protected]> --------- Signed-off-by: SoggySaussages <[email protected]>
- Loading branch information
1 parent
b87dc00
commit 6899a83
Showing
4 changed files
with
58 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters