config initialization
This commit is contained in:
@@ -32,7 +32,7 @@ class DiscordBotPlugin(PHALPlugin):
|
|||||||
@self.bot.event
|
@self.bot.event
|
||||||
async def on_ready():
|
async def on_ready():
|
||||||
#myLoop.start()
|
#myLoop.start()
|
||||||
LOG.info(f"{bot.user} has connected to Discord!")
|
LOG.info(f"{self.bot.user} has connected to Discord!")
|
||||||
|
|
||||||
admin = await get_discord_user_by_id(DISCORD_ADMIN_ID)
|
admin = await get_discord_user_by_id(DISCORD_ADMIN_ID)
|
||||||
if admin:
|
if admin:
|
||||||
|
|||||||
Reference in New Issue
Block a user