Fixed unavailable bot_start_time variable for !ping command
parent
2e33792aa8
commit
2192637d91
3
bots.py
3
bots.py
|
@ -109,8 +109,9 @@ def log_error(error_msg):
|
||||||
# Main Event Loop
|
# Main Event Loop
|
||||||
###############################
|
###############################
|
||||||
|
|
||||||
|
global bot_start_time
|
||||||
|
bot_start_time = time.time()
|
||||||
async def main():
|
async def main():
|
||||||
bot_start_time = time.time()
|
|
||||||
global discord_bot, twitch_bot
|
global discord_bot, twitch_bot
|
||||||
|
|
||||||
discord_bot = DiscordBot(config_data, logger)
|
discord_bot = DiscordBot(config_data, logger)
|
||||||
|
|
Loading…
Reference in New Issue