Is it possible to let my discord bot interact with its users?
Before asking this question I've tried :
import webbrowser
import discord
client = discord.client()
@client.event
async def on_message(message):
if message.author == client.user:
return
if message.content.startswith('open stackoverflow'):
webbrowser.open('www.stackoverflow.com')
But this code opens up the website on the my device whenever someone commands my bot to do so, how can I code my bot such that it can open up websites on the user device?
Like if a user commands the bot to open 'stackoverflow' then can it open it up in their device instead of mine?