Accept-Bot
Docker 应用程序 from brockbreacher's Repository
概述
A simple Discord bot that automatically adds configurable role(s) to a server member upon accepting the rules.
Rule-Gating Made Simple.
Environment Variables:
TOKEN | Discord Bot Token
ACTIVITY | Bot Activity Message (EX, You Sleep)
TYPE | The Activity type (LISTENING, WATCHING, PLAYING)
The bot requires the following permissions to function properly:
Manage Roles
View Messages
Send Messages
The bot's role must be positioned above any role it attempts to assign automatically.
You can also use the Cardboard Services Bot Invite Generator (https://invite.cardboards.net) to generate an invite link with these permissions automatically.
Command:
/accept-role additional-role-1:@role1 (goes up to 5): Sets the role(s) assigned to a user automatically after they accept the rules. (User running command must have Manage Server permissions and bot's role MUST be above the role being assigned!)
运行时参数
- 网络
bridge- 外壳
sh- 特权
- false
模板配置
TOKENVariable
Discord Bot Token
ACTVITYVariable
Bot Activity Message (EX, You Sleep)
- 价值
- /accept-role
TYPEVariable
The actvity type (LISTENING, WATCHING, PLAYING)
- 价值
- WATCHING
Role DataPathrw
Storage for role data
- 目标
- /usr/src/app/roledata
- 默认值
- /mnt/user/appdata/acceptbot/roledata
详细信息
存储库
ghcr.io/brockbreacher/accept-bot:latest最后更新2026-06-01
初见2025-07-18
在Unraid 上运行 Accept-Bot 。
Accept-Bot 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。