How do I make this bot?
corbob (0)

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

You are viewing a single comment. View All
Alvinzzzzz (1)

Since @everyone is displayed just like a normal text so use and add an on_message event and whenever people said @everyone send them the video u wanted to send here is an example.
Mark as answer if it helps you.

import discord
client = discord.Client()
async def on_message(message):
 if message == "@everyone":
  await"ur video link")"TOKEN")