File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -64,16 +64,20 @@ async def ping(self, ctx):
64
64
@commands .command (name = 'owner' , aliases = ['support' , 'contact' ])
65
65
async def support (self , ctx , * , msg : str = "" ):
66
66
"""Contact bot owner"""
67
- if msg == "" :
68
- return await ctx .send ("Please enter a message to send towards Bot Owner" , delete_after = 5.0 )
67
+ if not msg :
68
+ return await ctx .send ("Join support server at _https://hexbot.ml/support_ for quick and easy support." )
69
69
70
70
embed = discord .Embed (colour = discord .Colour (0x5dadec ), description = msg )
71
71
embed .set_author (name = ctx .author , icon_url = ctx .author .avatar_url )
72
- embed .set_footer (text = f"{ ctx .guild } : { ctx .guild .id } " , icon_url = ctx .guild .icon_url )
72
+ if ctx .guild .icon :
73
+ embed .set_footer (
74
+ text = f"{ ctx .guild } : { ctx .guild .id } " , icon_url = ctx .guild .icon .url )
75
+ else :
76
+ embed .set_footer (text = f"{ ctx .guild } : { ctx .guild .id } " )
73
77
74
78
info = await self .bot .application_info ()
75
79
await info .owner .send (embed = embed )
76
- await ctx .send ("Bot owner notified!" )
80
+ await ctx .send ("Bot owner notified!\n You can also join support server at _https://hexbot.ml/support_ for quick and easy support. " )
77
81
78
82
@commands .command (name = 'tts' )
79
83
async def _tts (self , ctx , * , text = '' ):
You can’t perform that action at this time.
0 commit comments