changeset 21:358cad883bc3

Update randomimageposter.py committer: GitHub <noreply@github.com>
author Paper <37962225+mrpapersonic@users.noreply.github.com>
date Fri, 09 Apr 2021 21:49:49 -0400
parents dfdb15d3caef
children 9782a1f6c1a6
files randomimageposter.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/randomimageposter.py	Fri Apr 09 21:49:32 2021 -0400
+++ b/randomimageposter.py	Fri Apr 09 21:49:49 2021 -0400
@@ -8,11 +8,11 @@
     print("Ready!")
 
 @client.command()
-async def random(ctx):
+async def post(ctx):
     files = glob.glob("*.png")
     files.extend(glob.glob("*.jpg"))
     files.extend(glob.glob("*.gif"))
     file = random.choice(files)
     await ctx.send(file=discord.File(file))
 
-client.run("PUT TOKEN HERE")
\ No newline at end of file
+client.run("PUT TOKEN HERE")