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:
@@ -74,7 +74,8 @@ class ControlCog(Cog):
|
|||||||
colour=self.__colors.BLUE
|
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)
|
await ctx.send(embed=embedhelp)
|
||||||
|
|
||||||
@command(name='invite', help=helper.HELP_INVITE, description=helper.HELP_INVITE_LONG, aliases=['convite', 'inv', 'convidar'])
|
@command(name='invite', help=helper.HELP_INVITE, description=helper.HELP_INVITE_LONG, aliases=['convite', 'inv', 'convidar'])
|
||||||
|
|||||||
Reference in New Issue
Block a user