Browse Source

added emoji command for robbing those emotes

tags/v1.0.0
roxie 6 years ago
parent
commit
266fcf31f2
1 changed files with 6 additions and 2 deletions
  1. +6
    -2
      cogs/util.py

+ 6
- 2
cogs/util.py View File

@@ -37,7 +37,6 @@ class Util():
await self.bot.send_file(ctx.message.channel, avaimg)
os.remove(avaimg)


@bot.command(pass_context=True)
async def info(self, ctx, member: discord.Member = None):
"""
@@ -86,7 +85,6 @@ class Util():
embed.add_field(name="Roles [{}]".format(count), value=roles.strip(", "))
return await self.bot.say(embed=embed)


@bot.command(pass_context=True)
async def upload(self, ctx):
"""
@@ -135,6 +133,12 @@ class Util():
else:
return await self.bot.say("Send me shit to upload nig")

@bot.command(pass_context=True)
async def emote(self, ctx, emote):
emoteid = emote.split(":")[-1].strip("<>")
url = "https://discordapp.com/api/emojis/{}.png".format(emoteid)
return await self.bot.say(url)

@bot.command(pass_context=True, hidden=True)
@checks.is_bot_owner()
async def echo(self, ctx, channel, *, message: str):

Loading…
Cancel
Save