a tiny self-hosted discord bot for rolling fate dice
- make sure ruby and bundler are installed on your local system
- download the
f8
script file - navigate to https://discordapp.com/developers/applications and create a new application. you can use the included
f8.png
as a logo if desired. - click the
Bot
link on the sidebar - add a new bot user for your new application
- click the
Copy
button to copy your new bot user's token - add a file named
config.yml
in the same directory as the script file, with contentstoken: YOUR_BOT_TOKEN_HERE
- back in your browser, click the
OAuth2
link in the sidebar - click the
bot
checkbox in theScopes
section - a link should be generated below. click
Copy
. - paste the link into a new browser tab and add the bot to your server. you may have to log in again first.
- run
./f8
to roll the dice, type f8 roll
or f8 r
.
you can optionally specify a skill rating, e.g. f8 r 5
rolls with a skill rating of +5.
the bot will listen to commands in any channel it's in.
it requires permissions to be able to send and receive messages in a channel in order to do so.
thanks to discordrb for making this bot easy to implement. thanks to MusicBot for inspiration and clear setup instructions.
this work is distributed under the terms of the GNU general public license, version 3.
see the LICENSE
file for details.