Simple multi-purpose Discord bot made with TypeScript-> https://auramm.xyz
Dashboard: https://github.com/Aura-Discord-Bot/Aura-Dashboard
config.json
example:
{
"bot": {
"token": "<your_bot_token>",
"secret": "<your_client_secret>",
"ownerId": "<discord_user_id>",
"activity": "auramm.xyz",
"id": "<discord_bot_id>"
},
"api": {
"port": "3000",
"url": "https://auramm.xyz/api",
"stripeSecretKey": "<sk_test_...>",
"stripeWebhookSecret": "<whsec_...>"
},
"guild": {
"id": "<support_guild_id>",
"premiumRoleId": "<premium_role_id>"
},
"lavalinkNodes": [
{
"host": "localhost",
"port": 2333,
"password": "youshallnotpass"
}
],
"dashboardURL": "https://auramm.xyz",
"mongoURL": "mongodb://localhost/Aura"
}
npm start
to start the bot, and Lavalink- Remember to have a local MongoDB database running
mongod
- Have Lavalink.jar running -
npm run start:music
orjava -jar Lavalink.jar
- Open an issue, if you find any bugs or have any suggestions etc.
- You can also join the Aura Discord if you need extra support.
F5
-> startShift + F5
-> stopCtrl + Shift + B
-> run build taskF9
-> toggle breakpointF10
-> step overF11
-> step intoShift + F11
-> step out
stripe listen --forward-to localhost:3000/stripe-webhook
This will allow you to get the config.api.stripeWebhookSecret
.
Replace localhost:3000
with whatever you are using for the bot server.