function name mistake

This commit is contained in:
2025-04-07 02:41:06 +10:00
parent 657b05c479
commit 733940eab2

View File

@@ -103,7 +103,7 @@ async def upload(ctx):
await ctx.respond(f"Sucessfully uploaded updated RSS feed") await ctx.respond(f"Sucessfully uploaded updated RSS feed")
@bot.slash_command() @bot.slash_command()
async def upload(ctx): async def update_rss(ctx):
messagechannel = bot.get_channel(862039084683624468) messagechannel = bot.get_channel(862039084683624468)
if ctx.user.id == 345153972765720577 or ctx.user.id == 468866369782415360: if ctx.user.id == 345153972765720577 or ctx.user.id == 468866369782415360:
files = files_to_upload(".") files = files_to_upload(".")