Typo fix on [p]invite command (#4382)

This commit is contained in:
PythonTryHard 2020-08-31 20:21:15 +07:00 committed by GitHub
parent 8c89993cd5
commit e1261b92d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1146,7 +1146,7 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
@commands.command() @commands.command()
@commands.check(CoreLogic._can_get_invite_url) @commands.check(CoreLogic._can_get_invite_url)
async def invite(self, ctx): async def invite(self, ctx):
"""Show's [botname]'s invite url.""" """Shows [botname]'s invite url."""
try: try:
await ctx.author.send(await self._invite_url()) await ctx.author.send(await self._invite_url())
except discord.errors.Forbidden: except discord.errors.Forbidden: