模块、变量和设置的说明是英文的。它们是机器人自己的话,与它在 Discord 内所说的完全一致,而在那里它们还没有被翻译。命令在本站以英文列出;Discord 则以每位成员自己的语言显示命令的名称和说明。
开始使用
三件事,按这个顺序。第二件是人们会跳过的一步,也是机器人看起来什么都没做的原因。
把机器人添加到你的服务器
使用邀请链接。它只请求代码真正用到的 21 项权限,一项都不多。你可以取消勾选其中任意一项——某个功能缺少某项权限时,它自己的命令之后会告诉你,而不是悄无声息地失败。
把它的身份组移到它所管理的身份组之上
打开服务器设置 → 身份组,把 sick 拖到它们上方。Discord 不允许任何机器人对最高身份组在机器人自己之上的人执行封禁、踢出、禁言或分配身份组。这是 Discord 的规则,不是我们的,没有任何权限可以越过它。
输入功能的名字
/welcome、/logs、/antinuke——每个都会显示全部设置、已经配置了什么、还缺什么以及补上它的那一行命令,并在机器人缺少该功能所需权限时给出实时警告。设置某项内容会开启该功能;off会把它再关掉。大多数模块在你设置它们之前什么都不做;少数默认开启的模块在下面列出。
35 个模块
每一个都通过它卡片上的命令来设置。大多数会等到你设置之后才工作;从机器人到来的那一刻起就开启的例外是 Activity、AFK、Giveaways、Language、Text commands、Moderation log、Punishment ladder和Snipe。下面的每张卡片都写明了它属于哪种。
Activity
Count messages, voice time and channel usage, so the server can be reported on
AFK
Members can say they are away; anyone who mentions them is told
Applications
Openings people apply for, reviewed and voted on by staff
Automatic roles
Give roles to members the moment they join
Events
Sign-ups, reminders, attendance and what happened afterwards
Giveaways
Who can run a giveaway, and what the bot does when one ends
Goodbye messages
Say goodbye when a member leaves, with an optional card
Guild Management
Ranks, rosters, contributions, promotions, and who is due one
Join to create
A voice channel that makes members their own, with a control panel
Language
The language the bot answers in, in this server
Partnerships
Partner applications, verification, renewals and how announcements go out
Reviews
Ratings out of five with the whole review, posted where you choose
Starboard
Pin the messages a server reacts to onto a board of their own
Status rewards
Give a role to members who put something in their custom status
Text commands
Run commands with a prefix as well as with slash
Tickets
Private support channels members open from a panel
Welcome messages
Greet members when they join, with an optional card and DM
AI image scan
Send images to OpenAI’s model, and do what you choose with the bad ones
Anti-nuke
Catch mass channel, role and webhook destruction
Anti-raid
Catch coordinated floods of new accounts joining
Anti-spam
Catch message floods, repeated text and mass mentions
Appeals
Let banned and muted members appeal, with a staff vote
Auto-nuke
Wipe channels on a schedule, on a phrase, or when the server is under attack
Jail
Hold a member in one channel, and give their roles back after
Link filter
Block invites, phishing, and content that breaks Discord’s own rules
Moderation log
Record every moderation action to a channel
Moderator watch
Alert when one moderator takes an unusual number of actions
Pic perms
Images off for everyone, on for one role
Punishment ladder
Escalate automatically: what happens on a member’s 1st offence, 2nd, 3rd…
Server logs
Record edited and deleted messages, so nothing is lost
Snipe
Who can read back a deleted or edited message with /snipe
Webhook relay
Post a blocked message back through a webhook under its author’s name
Word blacklist
Block words before they are ever posted, using Discord AutoMod
Member screening
A risk profile for every account that joins, and why
Verification
Make new members prove they are a person before they can talk
21 个可用于消息的变量
在你为机器人写的消息里——欢迎消息,或你用 /message 构建的任何内容——用花括号输入其中一个,它会在消息发送时被填充。功能无法填充的变量(欢迎消息没有频道)会按你输入的原样保留。人们选择的名字会被转义,所以没有人能用自己的名字破坏你的格式。
成员
{user}Mentions the member · 还有 {mention}和{user.mention}@alice{user.name}Their username, without a ping · 还有 {username}alice{user.display}The name they show in this serverAlice{user.id}Their user ID123456789012345678{user.avatar}Link to their profile picture — works as an image or thumbnailhttps://cdn.discordapp.com/avatars/…{user.created}How long ago their account was made3 years ago{user.joined}How long ago they joined this server2 minutes ago服务器
{server}The server’s name · 还有 {server.name}和{guild}My Server{server.members}How many members the server has · 还有 {count}和{membercount}1,234{server.members.ordinal}The member count as a place — welcome your 1,234th member1,234th{server.id}The server’s ID123456789012345678{server.icon}Link to the server icon — works as an image or thumbnailhttps://cdn.discordapp.com/icons/…{server.boosts}How many boosts the server has14{server.level}The server’s boost level, 0 to 32{server.owner}Mentions the server owner@owner频道
{channel}Links the channel · 还有 {channel.mention}#general{channel.name}The channel’s name, without the linkgeneral{channel.id}The channel’s ID123456789012345678时间
{date}Today’s date, in each reader’s own format1 October 2026{time}The time now, in each reader’s own time zone14:05随机
{choose}One of several options at random — {choose:hi|hello|hey}hello邀请索取什么
这个列表由各模块和命令声明的权限生成,所以它恰好就是代码能用到的那一组——不是虚增的请求。
踢出成员 封禁成员 管理频道 管理服务器 查看审核日志 查看频道 发送消息 管理消息 嵌入链接 附加文件 阅读消息历史 移动成员 管理昵称 管理身份组 管理 Webhooks 管理表情符号和贴纸 管理表情 管理活动 创建私密子区 在子区中发送消息 禁言成员