MicrosoftStudentChapter / Hack-O-Bot

Hack-O-Bot is MLSC's own Open Source Repository for HacktoberFest based on Discord.py
MIT License
3 stars 12 forks source link

Send the prefix of the bot whenever it is Tagged #28

Closed Aryan-401 closed 1 year ago

Aryan-401 commented 1 year ago

allow the bot to send its prefix in an embed when it is tagged. Note: It will only send its prefix when the only content of the message is the Tag. If any other text follows, the bot will not return anything.

KidesLeo commented 1 year ago

About to work on this even though I'm new to discord bots, is that okay?

Aryan-401 commented 1 year ago

Sure thing! Here is a link to the documentation!

https://discordpy.readthedocs.io/en/latest/api.html

KidesLeo commented 1 year ago

I wasn't sure what to say in the embed, is this alright? Yes? Use the '.' prefix to give me commands. image

Aryan-401 commented 1 year ago

How about "Hi there! Use .help for a full list of commands." Also change the color of the embed to Blurple

Otherwise, it looks good! Please do check it works on mobile too

KidesLeo commented 1 year ago

All done, opened a PR.