AOSSIE-Org / AOSSIE-Org/Devr.AI

FEATURE REQUEST:Add Admin Commands for Bot Management and Monitoring

Đang mở
#202 6 bình luận 1 reaction 1 người được giao Được @SiddhantGahankari nhận Xem trên GitHub
enhancement
Ngôn ngữ chính
Python
Star
102
Fork
137
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### 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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.