a discord bot that grabs quotes from a specified user and stores them in a database
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Zachary Epps d0dfd84d26 added usage string 2 years ago
.gitignore Initial commit 2 years ago
LICENSE Initial commit 2 years ago
README.md added usage string 2 years ago
main.go added usage string 2 years ago

README.md

DiscordQuoteBot

a discord bot that grabs quotes from a specified user and stores them in a database

Invite it to a discord server and type !grab @<user> in a channel that the bot is in. To retrieve a random quote it’s !quote @<user>

!quote-help or !quote-usage prints the usage for the bot

To retrieve a quote further back in the channel’s history pass !grab a number along with a user:

!grab @<user> 2

will grab that user’s message, 2 messages back

similarly, !quote @<user> 2 will return 2 random quotes from that user

Self hosting

To build this you’ll need Go 1.10+ because of the sqlite3 dependency. You’ll also have a properly set up GOPATH and PATH that includes GOPATH/bin

simply

go install git.computerfox.xyz/ztepps/DiscordQuoteBot-Go

DiscordQuoteBot-Go -t "DiscordBotToken"

or, if you want a different quote database file

DiscordQuoteBot-Go -t "token" -d "newQuotes.db"

to configure the bot to search further back for messages to grab:

DiscordQuoteBot-Go -m 50 -t "token"