Skip to content

Yertled/Discord-Inactive-Checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Discord Staff Activity Tracker

This Discord bot tracks staff activity across specified channels in a Discord server. It counts messages sent by staff members and generates an activity leaderboard.

image

Features

  • Tracks activity based on specified roles (Staff for example)
  • Checks activity in specified channels, including text channels, threads, and forum channels
  • Generates an activity leaderboard for a configurable number of days
  • Handles rate limiting to avoid Discord API restrictions
  • Authorizes command usage based on specified roles

Requirements

  • Python 3.8 or higher
  • discord library
  • configparser library

Setup

  1. Clone this repository

  2. Install the required packages: pip install discord configparser

  3. Create a db_config.ini file with the following structure:

[activity]
DISCORD_BOT_TOKEN = your_bot_token_here
DAYS_TO_CHECK = 30
RATE_LIMIT_DELAY = 5
ROLES_TO_TRACK = role_id1,role_id2,role_id3
AUTHORIZED_ROLES = auth_role_id1,auth_role_id2
CHANNELS_TO_CHECK = channel_id1,channel_id2,channel_id3

About

Discord Inactive Checker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages