Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 1.27 KB

README.md

File metadata and controls

17 lines (14 loc) · 1.27 KB

dungeoncord

airbnb eslint style

dungeoncord is a wrapper around the (undocumented) aidungeon.io api.

setup

node and yarn are all that's needed, after installing the dependencies, edit the .env file to include your discord bot token, aidungeon token, owner id, and prefix.

$ git clone https://github.com/sad/dungeoncord && cd dungeoncord
$ yarn
$ cp .env.example .env

getting your tokens

personally, i used charles to intercept the web traffic from the app on my iphone, although you can use any proxy. grab the x-access-token from the header of any request once logged in. you can get a discord bot token by creating an application, and then copying the bot user's token.

todo

at the moment, only the basic functions work. i would like to ensure every guild has a unique story, and can create new ones at will. for this, i need to explore the api more to figure out how they are created. any help is welcome.