# HG changeset patch # User Paper <37962225+mrpapersonic@users.noreply.github.com> # Date 1618019389 14400 # Node ID 358cad883bc32d3de4701b388d68c8ea49e8fdac # Parent dfdb15d3caef0f07d0cc1e3d822f9b43d404a8a1 Update randomimageposter.py committer: GitHub diff -r dfdb15d3caef -r 358cad883bc3 randomimageposter.py --- 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")