Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

NavigoLearn/DiscordBot

Repository files navigation

Important

This repository has been archived due to major inactivty within the organization.

Navigo bot

A NavigoLearn project!

How to get started?

Getting started is easy! Just follow the steps given...

Step 1: Clone the repository

git clone https://github.com/NavigoLearn/navigolearn-bot.git

Step 2: Install dependencies

cd navigolearn-bot
npm i

Step 3: Create a config.json file

Note

You can use the config.example.json file as a template.

This step is very short, just rename configexample.json to config.json and include the necessary info. (refer to the info below)

Info on each config variable

  • token: The Discord bot token. You can get this from the Discord Developer Portal.
  • clientId - The Discord bot client ID. You can get this from the Discord Developer Portal and is used to deploy commands.
  • activity - A list of activites for the bot to show.
  • DebugLogging - Whether to log debug messages to the console.
  • authusers- A list of user IDs that are allowed to use special dev commands.
  • othernavigodevs - A list of user IDs that are allowed to use a few special dev commands.
  • ghtoken - A GitHub token used to access the GitHub API. You can get this from the GitHub Developer Settings.

Step 4: Run the bot

Note

Remember to run node deploy beforehand to ensure all commands are deployed.

node index

How to contribute?

Contributing is a very helpful thing if we forget something or mess something up!

Just submit a pull request and we'll review it!

How to report a bug?

Note

We do not currently have a bug format, so just report it as you see fit. (include as much info as possible)

If you wish to report a bug just open an issue, and we'll look into it!

How to suggest a feature?

Well basically the same way you do for a bug, just open an issue and we'll look into it!

Releases

No releases published

Packages

No packages published