Skip to content

priamoryki/priamoryki-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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
  • 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"
      • Run from project folder
        mvn install
        mvn exec:java -Dexec.mainClass="com.priamoryki.discordbot.Bot"
    • DOCKER
      • Set environment variables in .env file
      • Run from project folder
        sudo docker-compose up --build --force-recreate -d
  • Enjoy

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.

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

Languages