mirror of
https://github.com/uhIgnacio/EmoteManager.git
synced 2024-08-15 02:23:13 +00:00
update the success emotes
This commit is contained in:
parent
8f170d7f13
commit
ecefefb4c9
6 changed files with 29 additions and 10 deletions
|
@ -11,7 +11,7 @@ class MissingManageEmojisPermission(commands.MissingPermissions):
|
|||
|
||||
def __init__(self):
|
||||
super(Exception, self).__init__(
|
||||
f'{utils.SUCCESS_EMOTES[False]} '
|
||||
f'{utils.SUCCESS_EMOJIS[False]} '
|
||||
"Sorry, you don't have enough permissions to run this command. "
|
||||
'You and I both need the Manage Emojis permission.')
|
||||
|
||||
|
|
|
@ -5,11 +5,6 @@ import discord
|
|||
|
||||
"""various utilities for use within the bot"""
|
||||
|
||||
"""Emotes used to indicate success/failure. You can obtain these from the discordbots.org guild,
|
||||
but I uploaded them to my test server
|
||||
so that both the staging and the stable versions of the bot can use them"""
|
||||
SUCCESS_EMOTES = ('<:error:416845770239508512>', '<:success:416845760810844160>')
|
||||
|
||||
def format_user(bot, id, *, mention=False):
|
||||
"""Format a user ID for human readable display."""
|
||||
user = bot.get_user(id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue