Skip to content

A bot for @redstone-devs private server with friends that I'm forking because yes

Notifications You must be signed in to change notification settings

vanillyn/gaybot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

maybot

  • A bot for my private server with friends that I'm open-sourcing because yes.
  • Made with discord.py.
  • The default prefix is ..
  • Use .help to get a command list. The output should look something like this:
bot for the gay nerds server

literally may from pokemon

she has that name because her creator briefly considered may as a chosen name

​No Category:
  3          <- so that maybot replies with :3 when you send it too
  annihilate delete a message with a missile >:)
  help       Shows this message
  infamy     sends a message to the hall of infamy
  oocqc      get stuff from a bunch of messages out of context
  rule       get a rule from rules.txt
  sync-tree  command to sync the command tree

Type .help command for more info on a command.
You can also type .help category for more info on a category.

Installation

  1. Clone the repo to a directory of your choosing
  2. Create a venv: python3 -m venv .venv
  3. Install dependencies: pip3 install -r requirements.txt
  4. Create a discord bot and put your token in the .env file (You did make one of those, right?)

Configuring Rules

Create a file with the path bot-config/rules.txt and just put your rules in line by line like this:

rule 1
rule 2
the third one

When you run /rule x, maybot will reply with the rule on that line number in rules.txt.

Custom Bot Description

In the same bot-config directory, you can add a description.txt. Whatever is in there will replace the default bot description when running .help.

Other Config

Make a .env file in the same directory as bot_main.py and add this to it:

# User IDs for the bot to function
BOT_TOKEN=
OWNER_USER_ID=

# Bot config stuff
BOT_PREFIX=.
OOC_EMBED_CHAR_LIMIT=4096
HOI_CHANNEL_ID=
HOI_REACTION_REMOVAL_THRESH=3

Add your bot token, own user ID, and ID of the channel you want to use as the Hall of Infamy (HoI).

About

A bot for @redstone-devs private server with friends that I'm forking because yes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%