mirror of
https://github.com/uhIgnacio/EmoteManager.git
synced 2024-08-15 02:23:13 +00:00
move data to data/
This commit is contained in:
parent
5a7acbfe3e
commit
6ebebe5045
4 changed files with 5 additions and 4 deletions
52
data/config.example.py
Normal file
52
data/config.example.py
Normal file
|
@ -0,0 +1,52 @@
|
|||
{
|
||||
'description':
|
||||
'Emote Manager lets you manage custom server emotes from your phone.\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,
|
||||
|
||||
'tokens': {
|
||||
'discord': 'sek.rit.token',
|
||||
'stats': {
|
||||
'bots.discord.pw': None,
|
||||
'discordbots.org': None,
|
||||
'botsfordiscord.com': None,
|
||||
},
|
||||
},
|
||||
|
||||
'ignore_bots': {
|
||||
'default': True,
|
||||
'overrides': {
|
||||
'channels': [
|
||||
],
|
||||
'guilds': [
|
||||
],
|
||||
},
|
||||
},
|
||||
|
||||
'copyright_license_file': 'data/short-license.txt',
|
||||
|
||||
'socks5_proxy_url': None, # required for connecting to the EC API over a Tor onion service
|
||||
'use_socks5_for_all_connections': False, # whether to use socks5 for all HTTP operations (other than discord.py)
|
||||
'user_agent': 'EmoteManagerBot (https://github.com/iomintz/emote-manager-bot)',
|
||||
'ec_api_base_url': None, # set to None to use the default of https://ec.emote.bot/api/v0
|
||||
'http_head_timeout': 10, # timeout for the initial HEAD request before retrieving any images (up this if using Tor)
|
||||
'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: '<:error:478164511879069707>',
|
||||
True: '<:success:478164452261363712>'
|
||||
},
|
||||
},
|
||||
}
|
14
data/short-license.txt
Normal file
14
data/short-license.txt
Normal file
|
@ -0,0 +1,14 @@
|
|||
© 2018–2020 lambda#0987
|
||||
|
||||
Emote Manager is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation, either version 3 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
Emote Manager is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You may find a copy of the GNU Affero General Public License at https://github.com/EmoteBot/EmoteManager/blob/master/LICENSE.md.
|
||||
The rest of the source code is also there.
|
Loading…
Add table
Add a link
Reference in a new issue