Constants
DISCORD_CHARACTER_LIMIT = 2000
module-attribute
Discord message character limit
REDIS_KEY_CHANNELS = 'channels'
module-attribute
Key for channels
REDIS_KEY_CHANNEL_PREFIX = 'channel'
module-attribute
Key-prefix for a Channel
REDIS_KEY_MESSAGES = 'messages'
module-attribute
Key for messages
REDIS_KEY_MESSAGE_PREFIX = 'message'
module-attribute
Key-prefix for a Message
REDIS_KEY_RESPONSES = 'responses'
module-attribute
Key for responses
REDIS_KEY_RESPONSE_PREFIX = 'response'
module-attribute
Key-prefix for a Response
REDIS_KEY_SERVERS = 'servers'
module-attribute
Key for servers
REDIS_KEY_SERVER_PREFIX = 'server'
module-attribute
Key-prefix for a Server
REDIS_KEY_USERS = 'users'
module-attribute
Key for users
REDIS_KEY_USER_PREFIX = 'user'
module-attribute
Key-prefix for a user
REDIS_MESSAGE_EXPIRE_SECONDS = 25920060
module-attribute
How long to persist Discord messages in Redis.
RESPONSE_DELVE_TIME = timedelta(hours=1)
module-attribute
How long ago to look for unsent responses.
TRANSCEIVER_RESPONSE_DELAY = 2
module-attribute
Delay between polling for new responses to send.