mirror of
https://github.com/uhIgnacio/EmoteManager.git
synced 2024-08-15 02:23:13 +00:00
Merge branch 'master' into metrics
This commit is contained in:
commit
6d184a6cf6
2 changed files with 7 additions and 0 deletions
5
bot.py
5
bot.py
|
@ -29,6 +29,11 @@ logging.getLogger('discord').setLevel(logging.INFO)
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
logger.setLevel(logging.INFO)
|
logger.setLevel(logging.INFO)
|
||||||
|
|
||||||
|
# SelectorEventLoop on windows doesn't support subprocesses lol
|
||||||
|
if sys.platform == 'win32':
|
||||||
|
loop = asyncio.ProactorEventLoop()
|
||||||
|
asyncio.set_event_loop(loop)
|
||||||
|
|
||||||
class Bot(Bot):
|
class Bot(Bot):
|
||||||
startup_extensions = (
|
startup_extensions = (
|
||||||
'cogs.emote',
|
'cogs.emote',
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
# the bot must have Create Instant Invite permissions for this channel
|
# the bot must have Create Instant Invite permissions for this channel
|
||||||
# if set to None, the support command will be disabled
|
# if set to None, the support command will be disabled
|
||||||
'support_server_invite_channel': None,
|
'support_server_invite_channel': None,
|
||||||
|
|
||||||
|
'prefixes': ['em/'],
|
||||||
|
|
||||||
'tokens': {
|
'tokens': {
|
||||||
'discord': 'sek.rit.token',
|
'discord': 'sek.rit.token',
|
||||||
|
|
Loading…
Reference in a new issue