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(".")