favebot

command module
v0.0.0-...-cc6099d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 1, 2020 License: MIT Imports: 14 Imported by: 0

README

tewibot

A Discord bot for waifufriends; the spiritual successor to the lainbot family.

features

  • Fast and light on resources
  • Setting and getting waifus and children
  • Getting/giving comforts
  • Three genders (male, female, non-binary with singular they) - no misgendering or your money back!
  • On-line help system - use the help command
  • Set your own unique nickname with the bot, independant from your Discord username
  • Remembers your nickname, gender, and family across servers
  • Not descended from lainbot's or kkdwfb's code
  • Saves to easy-to-read, easy-to-modify, and portable JavaScript Object Notation (json)
  • Support for polyamory (Ree some more :^))
  • Add pictures of your family to the bot
  • Get a random image from Danbooru, or request a picture of a family member from Danbooru
  • Get the bot to introduce you to newcomers

plans

  • Quotes database
  • Custom comforts
  • Steal some features from lainbot forks
  • The usual bot features (reminders, memos, weather etc.)

setup

  1. Install Go
  2. Make sure $GOPATH is set and that this directory resides within $GOPATH/src/
  3. go get
  4. go build
  5. Get your bot token from Discord
  6. ./tewibot -t <bot token>

comforts

Comfort texts are stored in comforts.json. The format string uses pronoun substitution ala FBMuck, but with a preceding 'w' for waifu's name & pronouns:

%a (absolute)       = his, hers, theirs.
%s (subjective)     = he, she, they.
%o (objective)      = him, her, them.
%p (possessive)     = his, her, their.
%r (reflexive)      = himself, herself, themself.
%n (player's name)  = Name.

Danbooru

Danbooru integration requires a Danbooru account and API key - admin must login to Danbooru, generate an API key on their user page, then shut down the bot and enter these into waifus.json.

Having done that, test out the functionality by using the &danbooru tag command. If you have family members, you can add a tag to be associated with them using &tag tag name and fetch pictures using the &pic command.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL