DraftBot is a bot developed in Node.js by @BastLast based on a text adventure game. The story takes place in a medieval world, and the player embodies an adventurer who wants to win a competition launched by the king, to win the princess' hand. To achieve this, he must travel and earn points by going through a lot of danger, including thieves, wilderness, and scary children. Every few hours, the player can get a random event by using the report
command: they interact with a multiple choice system, using reactions below the report. Each choice has multiple issues, which could hurt the character, heal them, or even give them some stuff. During the journey, they earn money, stuff, and points, and can use them to buy potions, stuff or effects in the shop, fight other players, and ascend the leaderboard.
Before creating your own instance, please note that you can add the bot to your server through the link available on the bot's discord If you decide to work on the creation of your own instance of the bot, you are supposed to have a minimum of computer skills. Bot support team will prioritize players of the main instance and will only provide very limited assistance. We will fix bugs you report, but we will not teach you how to code a discord bot.
Only the code available in the "release" tab is considered "stable".
- install git : https://git-scm.com/download/win
- download the bot :
git clone https://github.com/BastLast/DraftBot-A-Discord-Adventure
- install NodeJS http://nodejs.org/fr/ (nodejs 12 minimum is required)
- install Yarn
npm install --global yarn
- install the bot :
yarn install
- create the config file by copying the file app.json.default in a new file app.json
- Edit the file app.json with the correct data
- Launch the bot :
yarn start
- install git :
apt-get install git
- download the bot :
git clone https://github.com/BastLast/DraftBot-A-Discord-Adventure
- install NodeJS
apt-get install nodejs
(nodejs 12 minimum is required) - install yarn
npm install -g yarn
(you may have to install npm and use sudo) - install the bot :
yarn install
- create the config file :
cp config/app.json.default config/app.json
- Edit the file app.json with the correct data
- Launch the bot :
yarn start
- Be sure to use
yarn install
andyarn start
each time you update the bot. - Migrations will run automatically, but be sure to check them as they are created for our database, they may cause issues in yours.
- Website
- Discord server (in french)
- Suggestion board (in french)
- Player guide
- Twitter account (in french)
- First go to https://www.dropbox.com/developers/apps/create
- Select 1. "Scoped access", 2. "App folder", 3. The name you want (DraftBot for e.g.)
- Go to the "Permissions" tab and check the files.metadata.write, files.content.write and files.content.read permissions
- In the "Settings" tab, set "Access token expiration" to "Not expiration" and then generate a token with the button above
- Put this token in config/config.json