Check user ban status for commands
未关闭
enhancement
good first issue
help wanted
- 主要语言
- JavaScript
- 星标
- 16
- 派生
- 13
- PR 合并指标
- 30 天内没有已合并 PR
描述
**Is your feature request related to a problem? Please describe.**
When a user is banned in AlveusSanctuary, they can still run commands (if they have permissions) in the AlveusGG chat, and via the API integration.
**Describe the solution you'd like**
In the Twitch connection class, maintain a set of banned users (https://twurple.js.org/reference/api/classes/HelixModerationApi.html#getBannedUsers) for the main channel that refreshes itself every x minutes. In the chat message handler, always check the user is not in the banned list before processing their message.
**Describe alternatives you've considered**
N/A
**Additional context**
N/A
贡献指南
评估
这个 Issue 还没有评估数据。