TRPG dice bot on Discord by bcdice
It's simple!
bundle install #install dependency
ruby migrate.rb #database(sqlite) setup. DO NOT forget!!!!!
vi token.txt # setup discord bot token. first line: bot clientID, second line: bot token
ruby main.rb #start Bot.
By the way, i recommend for you to edit with Vim. ;)
上の手順でセットアップしてください
途中のvim tokne.txt
は、
DiscordのbotのクライアントIDとトークンを設定しているところです。
1行目にクライアントID、2行目にトークンIDを設定してください
あと、マイグレーション(ruby migrate.rb
)を忘れないでください。
(データベースエラーで3時間も費やした)
英語勉強中です
察してください
こっそり教えてください