update stats command docs

This commit is contained in:
Io Mintz 2020-04-28 02:57:49 +00:00
parent 2c8913a1c9
commit 041dcc6ed0
1 changed files with 4 additions and 5 deletions

View File

@ -83,7 +83,7 @@ class Emotes(commands.Cog):
if not context.guild or not isinstance(context.author, discord.Member): if not context.guild or not isinstance(context.author, discord.Member):
raise commands.NoPrivateMessage raise commands.NoPrivateMessage
if context.command is self.list or context.command is self.status: if context.command is self.list or context.command is self.stats:
return True return True
if ( if (
@ -406,10 +406,9 @@ class Emotes(commands.Cog):
self.paginators.add(paginator) self.paginators.add(paginator)
await paginator.begin() await paginator.begin()
@commands.command() @commands.command(aliases=['status'])
async def status(self, context): async def stats(self, context):
"""See Current status of emotes on this server. """The current number of animated and static emotes relative to the limits."""
"""
emote_limit = context.guild.emoji_limit emote_limit = context.guild.emoji_limit
static_emotes = animated_emotes = total_emotes = 0 static_emotes = animated_emotes = total_emotes = 0