Segb
This is a discord bot based on discordgo.
Main Features
- Manage uploaded GIFs by storing their URLs and tags in a google spreadsheet
- Actually, other contents are also supported, whatever a google spreadsheet cell can save
- Post the corresponding GIF (content) when queried
Prerequisites
{
"token": "discord-token",
"prefix": "prefix",
"delay": 15,
"channel": "channel id",
"guild": "guild id"
}
- A token file name with
token.json
in root with following content
{
"Email": "mail",
"PrivateKey": "key",
"TokenURL": "url",
"Scopes": [
"scope"
]
}
Usage
The following commands should be called with a prefix ~
help|h
add|a
[TAG1 TAG2 ... TAGN ] CONTENT
- Add new content
~add Oozono Momoko Kawaii
list|l
- Show content added in this server
~list
[TAG1 TAG2 ... TAGN ]
~list
[Author|author]=[@User] [TAG1 TAG2 ... TAGN ]
~list oozono momoko
~list Author=@scream870102 oozono momoko
~list Author=@scream870102
show|s
[TAG1 TAG2 ... TAGN ]
- Show the content filtered by TAGS in the database
- At least one
TAG
should be provided