Skip to content

Maubot plugin to fetch random posts from Safebooru

Notifications You must be signed in to change notification settings

tsunagatteru/booru-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Feb 15, 2023
503b7c8 · Feb 15, 2023

History

1 Commit
Feb 15, 2023
Feb 15, 2023
Feb 15, 2023
Feb 15, 2023
Feb 15, 2023

Repository files navigation

booru-bot

Maubot plugin to fetch random posts from Safebooru.

Dependencies

Pip

  • maubot
  • mautrix
  • pymongo
  • aiohttp

MongoDB

Installaion

  • Clone repository
  • Run build.sh
  • Install mbp file via maubot web interface
  • Enter MongoDB credentials in config section

Usage

!get

Fetches and sends x amount of pitures that matces specified tags Examples:

  • Fetch 3 random pictures
    !g !3 
        
  • Fetch 1 picture that match two tags
    !g tag_numer_one+tag_number_two
        
  • Fetch 5 pictures that match last prompted tags
    !g -!5
        

!tags

Toggles sending tags of messages on/off

About

Maubot plugin to fetch random posts from Safebooru

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published