Skip to content

A simple python bot which will post pinned messages that users with a specific role can edit and delete

Notifications You must be signed in to change notification settings

Actuali/discord-python-rulesbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Rules bot

A simple python bot which will post pinned messages that users with a specific role can edit and delete using reactions. Editing is done via direct messaging with the bot.

If you don't know how to set up an environment to run this you can download and use Docker.

To install

  1. Clone this reposity to your machine
  2. Create an application on the Discord Dev Portal and give it a name.
  3. You should now be on the 'General Information' page, copy the 'Application ID' and paste it into your bot.py file. Replace the XX's after 'bot_id'.
  4. Use the dev portal sidebar menu to go to 'Bot' and tick 'Server Members Intent' and 'Message Content Intent' then save changes.
  5. On the same tab of the dev portal click 'Reset Token'. Copy the token it generated and paste it into your bot.py file. Replace the XX's after 'TOKEN'. Save the changes to your bot.py file.
  6. Use the dev portal sidebar menu to go to 'Installation' and under 'Guild Install' add 'bot' and in the new 'Permissions' box that pops up add 'Send Messages' then click 'Save Changes'.
    Now where it says 'Install Link' copy the link and open it in a browser. This will take you through the process of adding the bot to your Discord server.
  7. You're now ready to run the python file. If you're comfortable doing that you can stop reading. If not then using a Docker container is the easiest way. So if you haven't already installed Docker, do so now and start Docker running on your machine. You don't need to make a Docker account, you can skip the sign-in.

About

A simple python bot which will post pinned messages that users with a specific role can edit and delete

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published