japanoise / tewibot

waifu bot for discord
MIT License
2 stars 1 forks source link

tewibot

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

features

plans

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, its.
%s (subjective)     = he, she, they, it.
%o (objective)      = him, her, them, it.
%p (possessive)     = his, her, their, its.
%r (reflexive)      = himself, herself, themself, itself.
%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.

Forks