Skip to content
This repository has been archived by the owner on Jul 2, 2022. It is now read-only.

madebynoxc/unlimited-quotebook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unlimited Quotebook

qb> have some juice

Unlimited Quotebook is bot for Discord servers that can find different phrases from various movies and anime. It searches for subtitles added into database, exports the frame and overlays full text. Request format:

qb> <keywords> [-params]

And other commands start from '.'

qb> .help

Invite to your server

Bot commands

  • .list will show the list of hosted series
  • .help bot help into direct message
  • .clrtmp clear temp folder admin only
  • .kill shuts down the bot admin only

Request parameters

-s <name> Source

You can specify source (full name or part name) of the quote. The example searches for words get and ready in 'Tsukimonogatari'

qb> get ready -s tsuki

-men <user/text> Mention user

Will replace mention of someone in quote (format /[A-Z][a-z]*[-,]/) with your own text. It is preferable to make a keyword with character name and coma after it, so it will try to match mention quote

qb> ayano, -men John

You can also use discord mentions, bot will format them

qb> kyoko, -men @Very Long Name#4242

-ctxt <text> Replace text with custom

In case if you want to extract just a frame and write a custom text, use -ctxt parameter. To remove text completely, use underscore ( _ ) as parameter.

qb> offer shinobu -ctxt Hey, wanna some fresh quotes?

-msg <text> Write a message along with image

Adds message to image. You can also mention other users

qb> ^hello?$ -msg When someone ignores you

-rmsg <text> Removes your message

Can remove a request message to avoid spam

qb> hello? -rmsg

Advanced keyword formatting

Bot searches keywords uncluding order, but can include any symbols between them by default. If you want to search for particular phrase, separate keywords with underscore

qb> hey_what's_up

You can use regular expressions too

qb> ^hello.$

Keep in mind, that subtitles most of the time end with dot . so instead of /$/ you may and with .,?!

The default search request in regexp will look like that: /keyword.*keyword2.*\?/gi

Hosting help

// coming soon

Lisense MIT