To install run this command:
npm install
To use this bot you need to create a discord bot aplication in discord dev page and create a credencials.json file in the jorginho src folder.
The credencials.json template:
{
"client_id": "<your-bot-client-id>",
"client_secret": "<your-bot-client-secret>",
"bot_token": "<the-bot-token>",
"owner_id": ["<your-discord-id>"],
"CMD_PREFIX": "!",
"uri": "https://api-jorginhobot.herokuapp.com",
"blacklist": [
"<...servers-blacklisted>"
]
}
- Use this link to invite your bot on a server: https://discordapp.com/oauth2/authorize?client_id="your-bot-client-id-goes-here"&scope=bot&permissions=1610087551
- You can user the default jorginho bot api to save custom command or you can make your own API.
After configuration you can run the compile command:
npm run compile
To run the bot run this command:
npm run start