Giter Club home page Giter Club logo

f8's Introduction

F8

a tiny self-hosted discord bot for rolling fate dice

instructions

  1. make sure ruby and bundler are installed on your local system
  2. download the f8 script file
  3. navigate to https://discordapp.com/developers/applications and create a new application. you can use the included f8.png as a logo if desired.
  4. click the Bot link on the sidebar
  5. add a new bot user for your new application
  6. click the Copy button to copy your new bot user's token
  7. add a file named config.yml in the same directory as the script file, with contents token: YOUR_BOT_TOKEN_HERE
  8. back in your browser, click the OAuth2 link in the sidebar
  9. click the bot checkbox in the Scopes section
  10. a link should be generated below. click Copy.
  11. paste the link into a new browser tab and add the bot to your server. you may have to log in again first.
  12. 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.

license

this work is distributed under the terms of the GNU general public license, version 3. see the LICENSE file for details.

f8's People

Contributors

mus0u avatar

Stargazers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.