AOSSIE-Org / AOSSIE-Org/Devr.AI

FEATURE REQUEST:Add Admin Commands for Bot Management and Monitoring

未关闭
#202 6 条评论 1 个 reaction 已指派 1 人 已被 @SiddhantGahankari 认领 在 GitHub 查看
enhancement
主要语言
Python
星标
102
派生
137
PR 合并指标
30 天内没有已合并 PR

描述

### Is your feature request related to a problem?

- [x] Yes, it is related to a problem

### Describe the feature you'd like

## 🌟 Feature Description

Add administrative Discord slash commands for bot management and monitoring. Commands would let maintainers check bot health, manage queues, and handle user issues without database access.

## 🔍 Problem Statement

The bot has no admin commands. All commands are available to everyone. Maintainers cannot monitor bot status, clear stuck messages, or debug user issues in real-time. Any maintenance requires manual database edits or bot restarts.

## 🎯 Expected Outcome

Add permission-restricted admin commands:

- /admin stats - View message counts, queue sizes, response times
- /admin queue status - Check pending tasks
- /admin queue clear - Remove stuck messages
- /admin user info - Inspect user state
- /admin user reset - Fix broken user state
- /admin cache clear - Clear cached data
- /admin health - Check database and API connections

Commands restricted to server administrators and bot owner. All actions logged to database.

I want to work on implementing this feature.

### Record

- [x] I agree to follow this project's Code of Conduct
- [x] I want to work on implementing this feature

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。