move data to data/

This commit is contained in:
io mintz 2020-05-13 00:12:56 +00:00
parent 5a7acbfe3e
commit 6ebebe5045
4 changed files with 5 additions and 4 deletions

3
.gitignore vendored
View File

@ -7,7 +7,8 @@ __pycache__/
.venv/ .venv/
venv/ venv/
config.py /config.py
/data/config.py
*.png *.png
*.gif *.gif

2
bot.py
View File

@ -38,7 +38,7 @@ class Bot(Bot):
) )
def __init__(self, **kwargs): def __init__(self, **kwargs):
with open('config.py') as f: with open('data/config.py') as f:
config = eval(f.read(), {}) config = eval(f.read(), {})
super().__init__(config=config, **kwargs) super().__init__(config=config, **kwargs)

View File

@ -28,7 +28,7 @@
}, },
}, },
'copyright_license_file': 'short-license.txt', 'copyright_license_file': 'data/short-license.txt',
'socks5_proxy_url': None, # required for connecting to the EC API over a Tor onion service '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) 'use_socks5_for_all_connections': False, # whether to use socks5 for all HTTP operations (other than discord.py)

View File

@ -1,4 +1,4 @@
Copyright © 20182020 lambda#0987 © 20182020 lambda#0987
Emote Manager is free software: you can redistribute it and/or modify Emote Manager is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as it under the terms of the GNU Affero General Public License as