You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bot.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -102,7 +102,7 @@ async def invite(context):
102
102
awaitcontext.message.channel.send(embed=embed)
103
103
else:
104
104
awaitcontext.message.channel.send('I sent you a private message!')
105
-
awaitcontext.message.channel.send('Invite me by clicking here: https://discordapp.com/oauth2/authorize?&client_id=YOUR_APPLICATION_ID_HERE&scope=bot&permissions=8')
105
+
awaitcontext.author.send('Invite me by clicking here: https://discordapp.com/oauth2/authorize?&client_id=YOUR_APPLICATION_ID_HERE&scope=bot&permissions=8')
106
106
107
107
108
108
@client.command(name='server', pass_context=True)
@@ -112,7 +112,7 @@ async def server(context):
112
112
awaitcontext.message.channel.send(embed=embed)
113
113
else:
114
114
awaitcontext.message.channel.send('I sent you a private message!')
115
-
awaitcontext.message.channel.send('Join my discord server by clicking here: https://discord.gg/Vddcy76')
115
+
awaitcontext.author.send('Join my discord server by clicking here: https://discord.gg/Vddcy76')
0 commit comments