8000 GitHub - victorjalonzo/bot-Invite-manager: A powerful Discord bot that tracks server invites, assigns role-based rewards, and manages invite statistics. Built with TypeScript, Discord.js, and MongoDB using Hexagonal Architecture.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

A powerful Discord bot that tracks server invites, assigns role-based rewards, and manages invite statistics. Built with TypeScript, Discord.js, and MongoDB using Hexagonal Architecture.

Notifications You must be signed in to change notification settings

victorjalonzo/bot-Invite-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A bot designed to manage Discord server invites and role-based rewards.

This bot provides an intuitive solution for tracking invites and managing role-based rewards on your Discord server. It simplifies rewarding users for invites with a flexible system, allowing admins to easily monitor activity and incentivize community growth.

Key features include two main commands:

/invite: View a user's invite count to track their contributions.

/reward: Manage role-based rewards, allowing admins to assign or remove rewards based on invite milestones.

example1

Features

👤 New Member Notifications – Announces new members and their inviter in the system channel by default.
🔎 Invite Tracking – Keeps track of each member’s total invites.
🏆 Role-Based Rewards – Create, delete, and view invite-based role rewards.


Member Join Notification

The bot will send a notification to the system channel when a new member joins the server. The notification includes the member's username and their inviter's username.

example

Invite Command

The /invite command allows users to check their current number of invites or view another user's invites.

example2 example3

Reward Command

Creating a Reward

The /reward create command is used to set up a new invite-based role reward.

Required Parameters:

  • Role – The role granted to a member upon reaching the required number of invites.
  • Invites – The number of invites needed to earn the reward.
example4 example5

Once a role reward is active, the invite card will display the number of invites required to obtain it.

example6 example7

Checking Rewards

The /reward list command is used to view all active invite-based role rewards.

example8

Deleting a Reward

The /reward delete command is used to remove an invite-based role reward.

Required Parameters:

  • Role – The role associated with the reward.
example9 example10

Installation

1. Clone this repository:

git clone https://github.com/victorjalonzo/InviteManager.git
cd InviteManager

2. Install dependencies:

npm install

3. Create a .env file in the project's root directory with the following content:

SERVER_HOST=your-server-host
DISCORD_BOT_TOKEN=your-discord-bot-token
DISCORD_CLIENT_ID=your-discord-client-id
DISCORD_CLIENT_SECRET=your-discord-client-secret
DATABASE_NAME=your-database-name
DATABASE_USER=your-database-user
DATABASE_PASSWORD=your-database-password
DATABASE_PORT=your-database-port
DATABASE_PROVIDER=your-database-provider

Replace the placeholders with your own values.

4. Run the bot:

npm start

Contributions

Contributions are welcome. If you'd like to contribute, please fork the repository and create a pull request with your changes.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

A powerful Discord bot that tracks server invites, assigns role-based rewards, and manages invite statistics. Built with TypeScript, Discord.js, and MongoDB using Hexagonal Architecture.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0