1
0
Fork 0
mirror of https://github.com/uhIgnacio/EmoteManager.git synced 2024-08-15 02:23:13 +00:00
EmoteManager/data/config.example.py
2021-09-08 21:05:36 +00:00

53 lines
2 KiB
Python

{
'description':
'Emote Manager lets you manage custom server emotes effortlessly.\n\n'
'NOTE: Most commands will be unavailable until both you and the bot have the '
'"Manage Emojis" permission.',
# a channel ID to invite people to when they request help with the bot
# the bot must have Create Instant Invite permissions for this channel
# if set to None, the support command will be disabled
'support_server_invite_channel': None,
'prefixes': ['em/'],
'tokens': {
'discord': 'bot.token',
},
'ignore_bots': {
'default': True,
'overrides': {
'channels': [
],
'guilds': [
],
},
},
'copyright_license_file': 'data/short-license.txt',
# required for connecting to the EC API over a Tor onion service
'socks5_proxy_url': None,
# whether to use socks5 for all HTTP operations (other than discord.py)
'use_socks5_for_all_connections': False,
'user_agent': 'EmoteManagerBot (https://github.com/uhIgnacio/EmoteManager)',
# set to None to use the default of https://ec.emote.bot/api/v0
'ec_api_base_url': None,
# timeout for the initial HEAD request before retrieving any images (up this if using Tor)
'http_head_timeout': 10,
'http_read_timeout': 60, # timeout for retrieving an image
# emotes that the bot may use to respond to you
# If not provided, the bot will use '❌', '✅' instead.
#
# You can obtain these ones from the discordbots.org server under the name "tickNo" and "tickYes"
# but I uploaded them to my test server
# so that both the staging and the stable versions of the bot can use them
'response_emojis': {
'success': { # emotes used to indicate success or failure
False: '', # <:EmoteName:ID> or '❌'
True: '' # <:EmoteName:ID> or '✅'
},
},
}