Skip to content

This is my Discord-Bot named priamoryki-bot based on Java. It's a public repository without private information, so you need to setup tokens using the guideline for everything to be working.

License

Notifications You must be signed in to change notification settings

priamoryki/priamoryki-bot

Repository files navigation

priamoryki-bot (Discord-Bot template)

INVITATION LINK.

Bot work examples

Idle player message:

Running player message:

Create bot instance based on template

  • Clone this repo
  • Setup data/config.json with your bot info
  • Get all required tokens
  • Use one of following methods to create bot instance
    • MAVEN
      • Set environment variables
        export TOKEN = "BOT TOKEN"
        export YADISK_TOKEN = "YANDEX DISK TOKEN"
        export SPOTIFY_CLIENT_ID = "SPOTIFY CLIENT ID FROM SPOTIFY API"
        export SPOTIFY_CLIENT_SECRET = "SPOTIFY CLIENT SECRET FROM SPOTIFY API"
        export PO_TOKEN = "YOUTUBE PO_TOKEN"
        export VISITOR_DATA = "YOUTUBE VISITOR_DATA"
      • Run from project folder
        mvn install
        mvn exec:java -Dexec.mainClass="com.priamoryki.discordbot.ApplicationMain"
    • DOCKER
      • Set environment variables in .env file
      • Run from project folder
        sudo docker-compose up --build --force-recreate -d
  • Enjoy

Tokens

Code structure

Main

Q&A

  • Can I make my own bot based on this template?
    • Yes, you can. Read more here.
  • I found an issue. How can I report it?
    • Create new issue here.
  • I've deleted bot channel. What can I do to recreate it?
    • Just tag the bot in any channel or kick and reinvite it to the server.

About

This is my Discord-Bot named priamoryki-bot based on Java. It's a public repository without private information, so you need to setup tokens using the guideline for everything to be working.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published