Skip to content

Rahim-444/GhackDIscordBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Analytics Bot and Server Monitor

This project is a Discord bot and server monitor that provides analytics related to server activity, online members, and voice chat usage.

Features

  • Post a meeting and check how many users are in the meet after a few minutes.
  • Get the number of online members in the server and categorize them based on their roles.
  • Retrieve the active users in each voice chat and store the information in the database.

Technologies Used

  • Node.js
  • Express.js
  • Discord.js
  • MongoDB
  • dotenv
  • child_process

Getting Started

  1. Fork and Clone the repository:
git clone https://github.com/your-username/GhackDIscordBott.git
cd GhackDIscordBot
  1. Set up your environment variables file: Create a .env file and add the following:
TOKEN=your-discord-bot-token
MONGO_URI=your-mongodb-uri
DISCORD_COMMAND=your-discord-shell-command
  1. Install the dependecies:
bun install
  1. Run the server
bun start
  1. End points
    • /online/: [GET]: get all the online members from the guild
    • /save-meeting/: [POST]: save the meeting info
    • /getUsersInVoice/: [GET]: get all the users in a given voice channel, and this can be done manually by requesting: /save-meeting; in this case it will be called after few minutes
    • /create-poll/: this allows you to create poll and get the votes, this can be used to send announcements as well.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors