Kimetaro is the BOT which selects one of lists(Discord/Slack)
- Access the authorization page.(https://discordapp.com/api/oauth2/authorize?client_id=569752486483591168&permissions=0&scope=bot)
- Select the server which you would like to register.
- Done
/hey
決め太郎「おーきに」
/add planA planB
/add "planA" "planB"
NOTE:
"
(Double quotation) and no quotation can not be mixed
'
(Single quotation) not accepted
/list
1. planA
2. planB
/choice
~面白い演出
決め太郎「決めたで! planBや」
/bye
決め太郎「ほな」
kimetaro
loads the discord of access token from environment values.
You debug or run kimetaro
on your environment, necessary to set your access token as environment values.
I recommend you to use direnv
, which set environment values automatically.
- Please modify
.envrc.sample
as following
$ vim .envrc.sample
[TOKEN]
ACCESSTOKEN=YOUR_DISCORD_ACCESS_TOKEN
- Rename
.envrc.sample
to.envrc
. - Run kimetaro
$ python3 kimetaro.py
Ref direnv