Skip to content

MButcho/discord-cr-bot

Repository files navigation

Discord bot for Cyber Republic

Special thanks to @RyanC for letting me use his Telegram bot source @ https://github.com/racollette/elabot

Installing bot

Create application and a bot

Use https://discord.com/developers/applications

Add bot to your server with following rights

Scope

  • bot
  • applications.commands

Bot Permissions

  • Send Messages
  • Embed Links
  • Read Message History

Clone repository

git clone https://github.com/MButcho/discord-cr-bot

Install latest NodeJS

curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt-get install -y nodejs

More on https://github.com/nodesource/distributions/blob/master/README.md#debinstall

Install dependencies

npm install
npm install discord.js

Create config.json in cloned folder

{
  "token": "<your bot token>",
  "clientId": "<your application ID>",
  "guildId":  "<your server ID>"
}

Register commands on server

node deploy-commands.js

Start bot

node index.js

Donations

Any donation to BTC LN address [email protected] or ELA address EJfW2mCdZPVxHVEv891xDop7hJAsYbKH5R will be appreciated.

Thank you and enjoy!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published