Skip to content

stamby/easy-pete-bot

Repository files navigation

EASY PETE BOT

Easy Pete Bot

A general-purpose bot for Discord with the following commands:

.iam (role name): Assign yourself a role. If the role doesn't exist, it may be created depending on settings.

.iamnot (role name): Remove a role from your user. If no users have the role anymore, the role may be removed depending on settings.

.meme: Send a random meme, straight from our repositories.

.song: Send a random song from our list of user-submitted songs.

@someone: Randomly mention someone on the server.

.prune (amount) or .prune (user) (amount): Requires Manage Messages permission. Delete messages from a channel, starting by the latest. If a user precedes the amount, delete messages from that user only. Example: .prune @a user I don't like 100

All features can be enabled, disabled or made to your preference with the help of .enable, .disable and .set. Additionally, the bot can welcome users and clean up unused roles, which may be coupled with the .iam command for smoother role management.

A word filter may be enabled by means of .set filter_profanity, .set filter_mass_mention and .set filter_invite followed by 1, 2 or 3. Please refer to the guide below to see what those mean.

The default dot prefix can be changed through .set.

More links

How to host this bot

Create a file called environment.sh with the following variables defined in it:

  • DB_NAME
  • DB_PASSWORD
  • DB_USER
  • TOKEN
  • TOKEN_BOTS_ON_DISCORD
  • TOKEN_DISCORD_BOTS
  • TOKEN_TOP_GG