/ETIT-Master-JS

A friendly bot coded in Node-JS to aid personal Discord server

Primary LanguageJavaScriptMIT LicenseMIT

ETIT-Master-JS

ko-fi




See here how to use and configure the bot

Install

Clone the repository, cd into it and run npm install.


Configuration

Rename EXAMPLE_config.json to config.json. Here you can set your prefix, channelIDs, roleIDs, Bot-Token and rich presence of the bot.

Prefix

Simply set the value of the prefix key to whatever prefix you want the bot to use

Presence

The entries in #presence are counting. Increment new entry keys by one. activity#name is the text that is displayed as the bots presence. For valid activity#type values check here.

IDs

ServerID

Here you can set the server-ID of the server you want the bot to operate in.

ChannelIDs

Set bottest to the channel-ID of the channel, you want the bot to send the startup message to.
Subject

Here you can set the names of the channels you want the bot to send the notifications to.

NOTE: The key-values have to be included in the event name in your calendar. Make sure you have the same key-values as your subject role-IDs

UserIDs

Set the botUserID to your bots user ID

RoleIDs

Set adminRole to your servers Admin-Role-ID and add the Developer-Role-ID

These are used to check if a user has the right to use bot commands.

Subjects Set the subjects to the role-IDs of your event roles. These are the roles that are pinged, when an event is sent.

NOTE: The key-values have to be included in the event name in your calendar. Make sure you have the same key-values as your subject channel-IDs


Calendars

You can add as many calendars as you want. Check here on how to get your ical Link. Simply scroll down to the bottom and copy your Secret address in iCal format.


Bot Token

Check here on how to get the bot token of your bot, or create a new bot.