mirror of
https://github.com/miaowware/qrm2.git
synced 2026-08-13 23:14:03 -04:00
refactor to allow for fixed, random, or by time statuses
This commit is contained in:
@@ -29,16 +29,20 @@ owners_uids = (200102491231092736,)
|
||||
# The extensions to load when running the bot.
|
||||
exts = ['ae7q', 'base', 'fun', 'grid', 'ham', 'image', 'lookup', 'morse', 'qrz', 'study', 'weather']
|
||||
|
||||
# Either "time", "random", or "fixed" (first item in statuses)
|
||||
status_mode = "fixed"
|
||||
|
||||
# Random statuses pool
|
||||
statuses = ["with lids on the air", "with fire"]
|
||||
|
||||
# Timezone for the status (string)
|
||||
status_tz = 'US/Eastern'
|
||||
# The text to put in the "playing" status, with start and stop times
|
||||
statuses = [('with lids on 3.840', (00, 00), (6, 00)),
|
||||
('with lids on 7.200', (6, 00), (10, 00)),
|
||||
('with lids on 14.313', (10, 00), (18, 00)),
|
||||
('with lids on 7.200', (18, 00), (20, 00)),
|
||||
('with lids on 3.840', (20, 00), (23, 59))]
|
||||
# The text to put in the "playing" status otherwise
|
||||
status_default = 'with lids on the air'
|
||||
time_statuses = [('with lids on 3.840', (00, 00), (6, 00)),
|
||||
('with lids on 7.200', (6, 00), (10, 00)),
|
||||
('with lids on 14.313', (10, 00), (18, 00)),
|
||||
('with lids on 7.200', (18, 00), (20, 00)),
|
||||
('with lids on 3.840', (20, 00), (23, 59))]
|
||||
|
||||
# Emoji IDs and keywords for emoji reactions
|
||||
# Use the format {emoji_id (int): ('tuple', 'of', 'lowercase', 'keywords')}
|
||||
|
||||
Reference in New Issue
Block a user