Skip to content
A Discord bot for fake marriages
Python PLpgSQL HTML CSS
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cogs Use max children limits as stored in db Jan 19, 2020
config Add maximum children amount to gulid settings Jan 19, 2020
website Strip the ends of if statments in jinja Jan 19, 2020
.gitignore Move from JSON to TOML Aug 7, 2019
LICENSE
README.md Update readme file somewhat Jan 19, 2020
RedisKeys.md Allow disown of users on other instances May 15, 2019
bot.py Automatically work out shard count Jan 19, 2020
requirements.txt Stop doing markdown myself Jan 3, 2020
webserver.py Move DBL webhook catcher to website Jan 18, 2020

README.md

MarriageBot

Discord Bots

This is a small Discord bot intended to bring love to your Discord servers. What it does is allows two users to get married. There are no benefits or drawbacks to being married. It simply is a thing that you can do. Here's a family tree you can make through marrying and adopting various users:

A large family tree composed entirely of Discord users

Me

I'm Caleb#2831. Feel free to ask for help at any time. If you like what I do, then feel free to help out.

Thanks

Thanks to all of you on the Landfall Games server for helping with the testing, especially Danny who I agreed I would give a specific shoutout too.

Thanks to Graphwiz for being a free piece of software that I can use at my leisure.

Commands

Note: there's no command to accept or decline a proposal. Just say something along the lines of "yes" or "no" into chat, and it'll interpret that from there.

  • m!propose @User#1231 This command allows you to initiate a marriage with another user. They, of course, can then deny your proposal, but that's unimportant

  • m!divorce @User#1231 This does the opposite of the marry command, as you can imagine. It opens you back up to the dating pool.

  • m!adopt @User#1231 Lets you try to adopt the mentioned user.

  • m!makeparent @User#1231 Asks the person to be your parent. This will further restrict you from the dating pool, but makes your fake family trees look cooler.

  • m!disown @User#1231 Allows you to disown one of your children.

  • m!emancipate @User#1231 The equivelant of running away from home. Removes your parent.

  • m!partner [@User#1231] Shows who the user's partner is. Defaults to yourself.

  • m!parent [@User#1231] Shows who the user's parent is. Defaults to yourself.

  • m!relationship @User#1231 [@User2#4564] Shows you the relationship beteween the two given users (or the first user and yourself).

  • m!familysize [@User#1231] Gives you the amount of people in your family tree.

  • m!tree [@User#1231] Shows the family tree of the given user on the server the command was called from. Defaults to yourself. The bot needs to be able to send images to do this.

  • m!globaltree [@User#1231] Shows the family tree of the given user across all servers (since families persist over different servers). Defaults to yourself. The bot needs to be able to send images to do this.

  • m!treefile [@User#1231] Gives you the full family tree output for the given user as a .ged file.

  • m!prefix [Prefix] For when m! isn't good enough (you must have the manage_guild permission to run this command. You'll always be able to mention the bot to get its attention, so don't worry about forgetting the prefix).

Testimonials

Testimonial 1 Testimonial 2 Testimonial 3 Testimonial 5 Testimonial 6 Testimonial 7 Testimonial 8

Self-Hosting

To host this bot yourself, you will need to install Python 3.6 or above, as well as the Discord.py rewrite (listed in requirements.txt). The database that I use is Postgres, and the SQL to generate the database and all relevant tables is included in the config folder, though you will have to edit and rename the config/config.toml file to work properly for your database setup.

After you set up the database, redis, and Graphviz, install the requirements (which are listed in requirements.txt) and you're good to go.

You can’t perform that action at this time.