mirror of
https://github.com/RafaelSolVargas/Vulkan.git
synced 2025-10-29 16:57:23 +00:00
Fixing passing None to thumbnail in help command
This commit is contained in:
parent
8f18ef3f2e
commit
6c15345eac
@ -74,7 +74,8 @@ class ControlCog(Cog):
|
||||
colour=self.__colors.BLUE
|
||||
)
|
||||
|
||||
embedhelp.set_thumbnail(url=self.__bot.user.avatar)
|
||||
if self.__bot.user.avatar != None:
|
||||
embedhelp.set_thumbnail(url=self.__bot.user.avatar)
|
||||
await ctx.send(embed=embedhelp)
|
||||
|
||||
@command(name='invite', help=helper.HELP_INVITE, description=helper.HELP_INVITE_LONG, aliases=['convite', 'inv', 'convidar'])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user