Skip to content

FOnline2/FOnline-discord-bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FOnline-discord-bot

Bot for FOnline Discord communities based on discord.js and https://github.com/agubelu/discord-music-bot

For running bot you need a linux machine with installed docker. You need to run following command:

docker run --restart=unless-stopped -v <path to config.json>:/src/config.json brightside/fonline-discord-bot

<path to config.json> - full path to config.json (you can find example in repo), which contains bot parameters, such as serverport (port of FOnline server), serverhost (domain name or IP address of FOnline server), bottoken (token for bot user on Discord, you can generate it in Discord devepopers portal)

After docker container starts, register a new Discord application for your own instance of the bot. Keep track of the Client ID and your token.

It's time to make the bot join your server: replace your Client ID on this URL and navigate to it https://discordapp.com/oauth2/authorize?&client_id=YOUR_CLIENT_ID_HERE&scope=bot&permissions=0

If you need to modify/customize some features (for example, bot avatar), fork repo and change its content (server.js, dockerfile or avatar)

About

Simple bot for FOnline 2 discord server.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 98.5%
  • Dockerfile 1.5%