8000 GitHub - iTsX5/2PG: Simple multi-purpose Discord bot made with TypeScript
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

iTsX5/2PG

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2PG - Simple, powerful Discord bot

Simple multi-purpose Discord bot made with TypeScript-> https://2pg.xyz

Dashboard: https://github.com/theADAMJR/2PG-Dashboard

2PG Avatar

Codacy Badge

Config

config.json example:

{
    "bot": {
        "token": "yourBotToken",
        "secret": "yourClientSecret",
        "ownerId": "",
        "activity": "2PG.xyz",
        "id": "discordBotId"
    },
    "api": {
        "port": "3000",
        "url": "https://2pg.xyz/api",
        "stripeSecretKey": "sk_test_..."
    },
    "guild": {
        "id": "599596068145201152",
        "premiumRoleId": "598565371162656788"
    },
    "dashboardURL": "https://2pg.xyz",
    "mongoURL": "mongodb://localhost/2PG"
}

Redirect URIs

Redirects

Start the Bot

  • 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 or java -jar Lavalink.jar

Troubleshooting

  • Open an issue, if you find any bugs or have any suggestions etc.
  • You can also join the 2PG Discord if you need extra support.

Debugging with VSCode (Windows)

  • F5 -> start
  • Shift + F5 -> stop
  • Ctrl + Shift + B -> run build task
  • F9 -> toggle breakpoint
  • F10 -> step over
  • F11 -> step into
  • Shift + F11 -> step out

About

Simple multi-purpose Discord bot made with TypeScript

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 100.0%
0