2019-10-03 22:17:36 -04:00
|
|
|
##########################################################
|
|
|
|
# #
|
|
|
|
# ¡ This is a template ! #
|
|
|
|
# #
|
|
|
|
# Make sure to edit it with your preferred settings! #
|
2019-11-25 05:43:20 -05:00
|
|
|
# And to place it in the /data #
|
|
|
|
# subdirectory of the bot, #
|
2019-10-03 22:17:36 -04:00
|
|
|
# without the 'template_' part of the name #
|
|
|
|
# #
|
|
|
|
##########################################################
|
2019-10-04 11:39:12 -04:00
|
|
|
"""
|
|
|
|
Settings and options for the bot.
|
|
|
|
---
|
|
|
|
"""
|
2019-10-03 22:17:36 -04:00
|
|
|
|
2019-10-07 12:17:52 -04:00
|
|
|
# The prefix for the bot (str). Define a list of stings for multiple prefixes.
|
|
|
|
# ie: `["?", "!", "pls "]`
|
2020-09-27 16:36:39 -04:00
|
|
|
prefix = ["? ", "?"]
|
|
|
|
|
|
|
|
# The prefix to use for display purposes (ex: status message).
|
|
|
|
display_prefix = "?"
|
2019-10-07 12:17:52 -04:00
|
|
|
|
|
|
|
# Whether the bot should print full stacktraces for normal exceptions: `True`,
|
|
|
|
# or be nice and only print small messages: `False` (the default).
|
2019-10-03 23:08:08 -04:00
|
|
|
debug = False
|
2019-10-07 12:17:52 -04:00
|
|
|
|
|
|
|
# A tuple of user IDs that should be considered "bot owners".
|
|
|
|
# * Those users will have full control over the bot.
|
|
|
|
# ! This MUST be a tuple of integers. Single element tuple: `(123,)`
|
2021-03-18 09:17:30 -04:00
|
|
|
owners_uids = (200102491231092736, 564766093051166729)
|
2019-10-08 23:02:57 -04:00
|
|
|
|
2019-12-07 17:26:55 -05:00
|
|
|
# The extensions to load when running the bot.
|
2021-01-17 22:32:48 -05:00
|
|
|
exts = [
|
|
|
|
"ae7q",
|
|
|
|
"base",
|
|
|
|
"fun",
|
|
|
|
"grid",
|
|
|
|
"ham",
|
|
|
|
"image",
|
|
|
|
"lookup",
|
|
|
|
"morse",
|
|
|
|
"qrz",
|
|
|
|
"study",
|
2021-03-22 03:35:45 -04:00
|
|
|
"tex",
|
2021-01-17 22:32:48 -05:00
|
|
|
"weather",
|
|
|
|
"dbconv",
|
|
|
|
"propagation",
|
|
|
|
]
|
2019-10-08 23:02:57 -04:00
|
|
|
|
2021-03-18 09:17:30 -04:00
|
|
|
# URL to the resources
|
|
|
|
resources_url = "https://qrmresources.miaow.io/resources/"
|
|
|
|
|
2021-03-16 22:04:05 -04:00
|
|
|
# If True (default): when doing QRZ callsign lookups, show the nickname in place of the first name, if it exists
|
|
|
|
# if False: use QRZ's default name format
|
|
|
|
qrz_only_nickname = True
|
|
|
|
|
2021-03-16 20:33:45 -04:00
|
|
|
# enable a command that provides a link to add the bot to a server
|
|
|
|
enable_invite_cmd = True
|
|
|
|
|
|
|
|
# the default permissions for the bot, to be included in the invite link for ?invite
|
|
|
|
# this probably does not need to be changed
|
|
|
|
invite_perms = 67488832
|
2021-03-16 20:04:05 -04:00
|
|
|
|
2019-12-23 14:06:42 -05:00
|
|
|
# Either "time", "random", or "fixed" (first item in statuses)
|
|
|
|
status_mode = "fixed"
|
|
|
|
|
|
|
|
# Random statuses pool
|
|
|
|
statuses = ["with lids on the air", "with fire"]
|
|
|
|
|
2019-12-23 13:29:04 -05:00
|
|
|
# Timezone for the status (string)
|
2019-12-23 15:57:57 -05:00
|
|
|
# See https://pythonhosted.org/pytz/ for more info
|
2020-01-30 06:15:42 -05:00
|
|
|
status_tz = "US/Eastern"
|
2019-12-23 21:13:01 -05:00
|
|
|
|
2019-12-23 13:29:04 -05:00
|
|
|
# The text to put in the "playing" status, with start and stop times
|
2020-01-30 06:15:42 -05:00
|
|
|
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))]
|
2019-12-23 11:32:02 -05:00
|
|
|
|
2020-09-27 16:36:39 -04:00
|
|
|
# append " | {display_prefix}help" to the Discord playing status
|
|
|
|
show_help = False
|
|
|
|
|
2019-12-23 11:32:02 -05:00
|
|
|
# Emoji IDs and keywords for emoji reactions
|
2020-01-30 06:15:42 -05:00
|
|
|
# Use the format {emoji_id (int): ("tuple", "of", "lowercase", "keywords")}
|
2019-12-23 11:32:02 -05:00
|
|
|
msg_reacts = {}
|
2019-12-23 20:51:31 -05:00
|
|
|
|
|
|
|
# A :pika: emote's ID, None for no emote :c
|
|
|
|
pika = 658733876176355338
|
2021-03-22 03:35:45 -04:00
|
|
|
|
|
|
|
# Base URL to a deployment of rTeX, which performs LaTeX rendering.
|
|
|
|
rtex_instance = "https://rtex.probablyaweb.site/"
|