From baf1aa7af53a3faa247da1d007b03441ecb412f9 Mon Sep 17 00:00:00 2001 From: Mihit Date: Mon, 7 Apr 2025 02:42:42 +1000 Subject: [PATCH] oops --- DiscordBot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DiscordBot.py b/DiscordBot.py index 6b01b5d..008d96b 100644 --- a/DiscordBot.py +++ b/DiscordBot.py @@ -95,7 +95,7 @@ async def on_ready(): logger.info(f"Websocket latency is {bot.latency*1000} ms") @bot.slash_command() -async def upload(ctx): +async def update_rss(ctx): if ctx.user.id == 345153972765720577 or ctx.user.id == 468866369782415360: df = rss_gen.create_df() rss_gen.create_48h_latest(df) @@ -103,7 +103,7 @@ async def upload(ctx): await ctx.respond(f"Sucessfully uploaded updated RSS feed") @bot.slash_command() -async def update_rss(ctx): +async def upload(ctx): messagechannel = bot.get_channel(862039084683624468) if ctx.user.id == 345153972765720577 or ctx.user.id == 468866369782415360: files = files_to_upload(".")