Przeglądaj źródła

Maybe adding this new command for ID lookups.

tags/v2.0.0
Roxie Gibson 6 lat temu
rodzic
commit
2d29998df1
1 zmienionych plików z 5 dodań i 0 usunięć
  1. +5
    -0
      roxbot/cogs/util.py

+ 5
- 0
roxbot/cogs/util.py Wyświetl plik

except IndexError: except IndexError:
return await ctx.send("This command only supports custom emojis at the moment. Sorry.") 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) @bot.command(hidden=True)
async def inviteme(self, ctx): async def inviteme(self, ctx):
"""Returns an invite link to invite the bot to your server.""" """Returns an invite link to invite the bot to your server."""

Ładowanie…
Anuluj
Zapisz