Skip to content

thelasallian/Residency-Bot

Repository files navigation

Residency-Bot

A Discord bot that tracks the online residency hours of users via activity in a voice channel.

Update the commands

  1. Run node deploy-commands.js

Run locally

  1. Run npm install discord.js
  2. Create a .env file with the following content
SHEET_ID = <>
CLIENT_EMAIL = <>
PRIVATE_KEY = <>
CLIENT_ID = <>
GUILD_ID = <>
BOT_TOKEN = <>
APP_ID = <>
PUBLIC_KEY = <>
AUTH = <>
  1. Start with node index.js

TLS instructions

  1. Enable the bot on the discord server
  2. Check if the bot is running via the given website
  3. If the bot is not running, redeploy the repository on render on a different region
  4. Logs may be seen on the given sheets link.
  5. Remove all entries on the hidden logs sheets to reset the data

Technologies

Express NodeJS Javascript Google Sheets Render

About

A Discord bot that tracks the online residency hours of users via activity in a voice channel.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •