Skip to content

kaibi-dev/invitetracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

InviteTracker

InviteTracker is a discord bot used to track user invites, only acknowledging the invite after the new member has been give a verified role.

Installation

pip install -r requirements.txt

Usage

python3 invitetracker.py

This will create a file named "config.json". Edit it to the fields provided and re-run the bot.

Config:

{
    "token": "",
    "guild-id": "",
    "logs-channel": "",
    "role1-id": "",
    "role1-pts": "",
    "role2-id": "",
    "role2-pts": ""
}

token: Discord bot token

guild-id: ID of the server you are running it in

logs-channel: Channel ID of your log channel

roleX-id: id of role X that is being tracked

roleX-pts: points that role X gives to the inviter

Discord Commands:

%stats (@mention) - shows stats of yourself or of the user provided if mention

%lb - shows leaderboard based on invite points

%addpoints - moderation command used to manually add points (can be negative, requires Manage Roles)

License

MIT

About

invite tracking discord bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages