Discord Bot that does various things
Main Features
- Discord command to Tweet
- Anilist anime info
- Time until
- Current time in city
- Stock symbol data
- Cryptocurrency data
git clone https://github.com/Monko2k/SyedBot.git
go get
make
./syed
Create a config.json
at config/config.json
with the following contents
{
"DiscordToken": "",
"Twitter": {
"Token": "",
"TokenSecret": "",
"Key": "",
"KeySecret": ""
},
"Geocode": "",
"TimeZoneDB": ""
}
API keys can be obtained from:
API | Link |
---|---|
DiscordToken | https://discordapp.com/developers/applications |
https://developer.twitter.com/en/docs/twitter-api | |
Geocode | https://geocode.xyz/api |
TimeZoneDB | https://timezonedb.com/api |
Note: leaving an empty string is fine, but the associated commands will cease to function.
anime title
Display info for a piece of anime media
anirand type:value1-value2
type:value
Returns a random anime, with optional parameters available to narrow the selection.
type
is case insensitive
Type | Example value(s) |
---|---|
y (Year) | 2021 or 1940-2022 |
g (Genres) | Action `` delimited by any combination of , or ` ` |
s (Score) | 22 or 60-80 |
anistaff name
Returns the detail of the person that was staff in an anime.
anichar name
anistaff but for characters in anime.
crypto name
Returns the current value of the crypto in USD (from CoinGecko API).
name
is the full name of the crypto, for example instead of symbolBCH
the user need to typebitcoin cash
.name
is case insensitive.
stock ticker symbol
Returns the Previous Close and Market Price of the requested ticker/stock symbol.
time
Returns the current UTC time.
time in City Name
Returns the current time on
City Name
Time Zone.
City Name
orDistrict Name
alone are also sometimes viable.- Format:
address
,town
,postcode country
time until time
Returns the time until the input
time
wheretime
is in UTC
- Different length of the
time
string will translate as follows: h
hh
hmm
hhmm
hh:mm
h:mm
whereh
is hourm
is minute
tweet message
(optional) Media link
Posts a tweet to the associated Twitter account of the linked API keys
- Greater than 3 (exclusive) of ✅ and ✅ + 2 > 🖕 is required to tweet the requested message
choose option1
, option2
, option3
...
For decidophobia needs
github
wholesome
Supercalifragilisticexpialidocious wholesome command
whitecatify
translate to whitecat expression
salam
salam