This commit is contained in:
2025-04-07 02:42:42 +10:00
parent 733940eab2
commit baf1aa7af5

View File

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