I am trying to make a discord bot where whenever someone pings @everyone in discord then it sends a custom video, this is with python. Please comment any code down below
Since @everyone is displayed just like a normal text so use discord.py and add an on_message event and whenever people said @everyone send them the video u wanted to send here is an example. @corbob Mark as answer if it helps you.
import discord
client = discord.Client()
@client.event
async def on_message(message):
if message == "@everyone":
await message.channel.send("ur video link")
client.run("TOKEN")
How do I make this bot?
I am trying to make a discord bot where whenever someone pings @everyone in discord then it sends a custom video, this is with python. Please comment any code down below
also sorry if this is the wrong category
Since @everyone is displayed just like a normal text so use discord.py and add an on_message event and whenever people said @everyone send them the video u wanted to send here is an example.
@corbob
Mark as answer if it helps you.