Pārlūkot izejas kodu

made sure upload hides like it should cause its bad.

tags/v1.8.0
Roxie Gibson pirms 6 gadiem
vecāks
revīzija
3fb1fd0128
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      roxbot/cogs/util.py

+ 2
- 2
roxbot/cogs/util.py Parādīt failu

@@ -162,7 +162,7 @@ class Util():
embed.add_field(name="Managed", value=str(role.managed), inline=False)
return await ctx.send(embed=embed)

@bot.command(enabled=False)
@bot.command(enabled=False, hidden=True)
async def upload(self, ctx):
"""
Uploads selected file to the host, thanks to the fact that
@@ -198,7 +198,7 @@ class Util():
return await ctx.send("Send me stuff to upload.")

@upload.error
async def upload_err(self, ctx, error):
async def upload_err(self, ctx):
return await ctx.send("File couldn't be uploaded.")

@bot.command(aliases=["emoji"])

Notiek ielāde…
Atcelt
Saglabāt