8000 GitHub - chrislegault/lootbot: MMO Bookclub lootbot
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

chrislegault/lootbot

Repository files navigation

Lootbot

Build Status codecov david david-dev

A discord bot for everyone's favorite video game feature...lootboxes! Manage and open lootboxes for users on your discord server.

Prerequisites / Getting Started

Create bot account

  • Create a bot user
  • Click New App
  • Give it a name and description
  • Once bot is created, scroll down and click Create a Bot User
  • Click link next to token to get the bot token
  • Make note of the token ( we will need it)
  • Add bot to your server
  • Get your user id in discord
  • Optionally get your guild id

Project setup

git clone https://github.com/astraldragon/lootbot
cd lootbot

Next create a .env file with the following format:

OWNER_ID=<your user id>
DISCORD_TOKEN=<bot token>
GUILD=<optional guild id>

Install dependencies and bootstrap the project

yarn # install dependencies
yarn db:migrate # create dev database
yarn db:seed # optional if you want to pre-seed some sample data, requires the GUILD option in .env or as an environment variable
yarn start # or yarn start:watch, starts the project

Bot usage

See Usage

Contributing

When contributing a feature or bug fix make sure to run the tests and stylechecks and you should be good to go!

yarn test # yarn test:watch, run the tests
yarn lint # yarn lint:fix, check codestyle

License

Made available under the MIT License

About

MMO Bookclub lootbot

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  
0