Преглед на файлове

added emoji command for robbing those emotes

tags/v1.0.0
roxie преди 6 години
родител
ревизия
266fcf31f2
променени са 1 файла, в които са добавени 6 реда и са изтрити 2 реда
  1. +6
    -2
      cogs/util.py

+ 6
- 2
cogs/util.py Целия файл

@@ -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…
Отказ
Запис