Browse Source

made sure upload hides like it should cause its bad.

tags/v1.8.0
Roxie Gibson 6 years ago
parent
commit
3fb1fd0128
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      roxbot/cogs/util.py

+ 2
- 2
roxbot/cogs/util.py View File

embed.add_field(name="Managed", value=str(role.managed), inline=False) embed.add_field(name="Managed", value=str(role.managed), inline=False)
return await ctx.send(embed=embed) return await ctx.send(embed=embed)


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


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


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

Loading…
Cancel
Save