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

Maybe adding this new command for ID lookups.

tags/v2.0.0
Roxie Gibson преди 6 години
родител
ревизия
2d29998df1
променени са 1 файла, в които са добавени 5 реда и са изтрити 0 реда
  1. +5
    -0
      roxbot/cogs/util.py

+ 5
- 0
roxbot/cogs/util.py Целия файл

@@ -227,6 +227,11 @@ class Util():
except IndexError:
return await ctx.send("This command only supports custom emojis at the moment. Sorry.")

@bot.command()
async def lookup(self, ctx, ID: int):
result = self.bot.get_channel(ID)
pass

@bot.command(hidden=True)
async def inviteme(self, ctx):
"""Returns an invite link to invite the bot to your server."""

Loading…
Отказ
Запис