oops
This commit is contained in:
@@ -95,7 +95,7 @@ async def on_ready():
|
|||||||
logger.info(f"Websocket latency is {bot.latency*1000} ms")
|
logger.info(f"Websocket latency is {bot.latency*1000} ms")
|
||||||
|
|
||||||
@bot.slash_command()
|
@bot.slash_command()
|
||||||
async def upload(ctx):
|
async def update_rss(ctx):
|
||||||
if ctx.user.id == 345153972765720577 or ctx.user.id == 468866369782415360:
|
if ctx.user.id == 345153972765720577 or ctx.user.id == 468866369782415360:
|
||||||
df = rss_gen.create_df()
|
df = rss_gen.create_df()
|
||||||
rss_gen.create_48h_latest(df)
|
rss_gen.create_48h_latest(df)
|
||||||
@@ -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 update_rss(ctx):
|
async def upload(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(".")
|
||||||
|
|||||||
Reference in New Issue
Block a user