From 09eeac31df1fd9138d81d057829dd20cb8504ef9 Mon Sep 17 00:00:00 2001 From: Shivansh-007 Date: Sat, 3 Apr 2021 11:18:38 +0530 Subject: Use constants for delete delay and remove redundant f-string. --- bot/constants.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bot/constants.py') diff --git a/bot/constants.py b/bot/constants.py index 416dd0e7..ba4345bc 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -20,6 +20,7 @@ __all__ = ( "Tokens", "Wolfram", "RedisConfig", + "RedirectOutput", "MODERATION_ROLES", "STAFF_ROLES", "WHITELISTED_CHANNELS", @@ -270,6 +271,10 @@ class Source: github_avatar_url = "https://avatars1.githubusercontent.com/u/9919" +class RedirectOutput: + delete_delay: int = 10 + + # Default role combinations MODERATION_ROLES = Roles.moderator, Roles.admin, Roles.owner STAFF_ROLES = Roles.helpers, Roles.moderator, Roles.admin, Roles.owner -- cgit v1.2.3