Fixed unavailable bot_start_time variable for !ping command

pull/1/head
Kami 2025-02-01 13:09:02 +01:00
parent 2e33792aa8
commit 2192637d91
1 changed files with 2 additions and 1 deletions

View File

@ -109,8 +109,9 @@ def log_error(error_msg):
# Main Event Loop
###############################
async def main():
global bot_start_time
bot_start_time = time.time()
async def main():
global discord_bot, twitch_bot
discord_bot = DiscordBot(config_data, logger)