Posts

Showing posts from November, 2020

Discord bot using discord.py

Image
 Discord is a VOIP and text messaging application that many people use. It has the ability to create 'servers', where text channels and voice channels can be create so people can communicate using it. A bot can be made for Discord, using a multitude of languages including python, so I decided to have a shot at it. Most of it is simple, as python and discord do all the bot stuff for you, you just have to make the commands. So I made some simple commands, such as 8ball question and answer, coinflip, deleting a number of messages, sending private messages to specific users. Then I made 2 bigger programs, which take a group of people and assigns each person another person without repeats, which is useful for some games and/or something like secret santa. Then I made a team organizer, which puts a group of people into a given number of teams. I also allowed it to join VC and leave it, for the purpose of it trying to play music. However, most of the tutorials I've watched on it i...