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
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -7,7 +7,8 @@ __pycache__/
|
|||
.venv/
|
||||
venv/
|
||||
|
||||
config.py
|
||||
/config.py
|
||||
/data/config.py
|
||||
|
||||
*.png
|
||||
*.gif
|
||||
|
|
2
bot.py
2
bot.py
|
@ -38,7 +38,7 @@ class Bot(Bot):
|
|||
)
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
with open('config.py') as f:
|
||||
with open('data/config.py') as f:
|
||||
config = eval(f.read(), {})
|
||||
|
||||
super().__init__(config=config, **kwargs)
|
||||
|
|
|
@ -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
|
||||
'use_socks5_for_all_connections': False, # whether to use socks5 for all HTTP operations (other than discord.py)
|
|
@ -1,4 +1,4 @@
|
|||
Copyright © 2018–2020 lambda#0987
|
||||
© 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
|
Loading…
Reference in a new issue