模块、变量和设置的说明是英文的。它们是机器人自己的话,与它在 Discord 内所说的完全一致,而在那里它们还没有被翻译。命令在本站以英文列出;Discord 则以每位成员自己的语言显示命令的名称和说明。

文档

开始使用

三件事,按这个顺序。第二件是人们会跳过的一步,也是机器人看起来什么都没做的原因。

  1. 把机器人添加到你的服务器

    使用邀请链接。它只请求代码真正用到的 21 项权限,一项都不多。你可以取消勾选其中任意一项——某个功能缺少某项权限时,它自己的命令之后会告诉你,而不是悄无声息地失败。

  2. 把它的身份组移到它所管理的身份组之上

    打开服务器设置 → 身份组,把 sick 拖到它们上方。Discord 不允许任何机器人对最高身份组在机器人自己之上的人执行封禁、踢出、禁言或分配身份组。这是 Discord 的规则,不是我们的,没有任何权限可以越过它。

  3. 输入功能的名字

    /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

/logs activity4 项设置 默认开启

AFK

Members can say they are away; anyone who mentions them is told

/afk config4 项设置 默认开启

Applications

Openings people apply for, reviewed and voted on by staff

/applications config5 项设置 启用前关闭

Automatic roles

Give roles to members the moment they join

/autorole join2 项设置 启用前关闭

Events

Sign-ups, reminders, attendance and what happened afterwards

/event config8 项设置 启用前关闭

Giveaways

Who can run a giveaway, and what the bot does when one ends

/giveaway config6 项设置 默认开启

Goodbye messages

Say goodbye when a member leaves, with an optional card

/goodbye1 项设置 启用前关闭

Guild Management

Ranks, rosters, contributions, promotions, and who is due one

/guild config5 项设置 启用前关闭

Join to create

A voice channel that makes members their own, with a control panel

/voice config12 项设置 启用前关闭

Language

The language the bot answers in, in this server

/identity language1 项设置 默认开启

Partnerships

Partner applications, verification, renewals and how announcements go out

/partner config7 项设置 启用前关闭

Reviews

Ratings out of five with the whole review, posted where you choose

/review config8 项设置 启用前关闭

Starboard

Pin the messages a server reacts to onto a board of their own

/starboard config5 项设置 启用前关闭

Status rewards

Give a role to members who put something in their custom status

/autorole vanity5 项设置 启用前关闭

Text commands

Run commands with a prefix as well as with slash

/prefix1 项设置 默认开启

Tickets

Private support channels members open from a panel

/ticket config9 项设置 启用前关闭

Welcome messages

Greet members when they join, with an optional card and DM

/welcome3 项设置 启用前关闭

AI image scan

Send images to OpenAI’s model, and do what you choose with the bad ones

/filter ai16 项设置 启用前关闭

Anti-nuke

Catch mass channel, role and webhook destruction

/antinuke6 项设置 启用前关闭

Anti-raid

Catch coordinated floods of new accounts joining

/antiraid7 项设置 启用前关闭

Anti-spam

Catch message floods, repeated text and mass mentions

/filter spam9 项设置 启用前关闭

Appeals

Let banned and muted members appeal, with a staff vote

/appeal config7 项设置 启用前关闭

Auto-nuke

Wipe channels on a schedule, on a phrase, or when the server is under attack

/moderation autonuke3 项设置 启用前关闭

Jail

Hold a member in one channel, and give their roles back after

/moderation jail3 项设置 启用前关闭

Link filter

Block invites, phishing, and content that breaks Discord’s own rules

/filter links10 项设置 启用前关闭

Moderation log

Record every moderation action to a channel

/logs moderation1 项设置 默认开启

Moderator watch

Alert when one moderator takes an unusual number of actions

/moderation watch6 项设置 启用前关闭

Pic perms

Images off for everyone, on for one role

/picperms config5 项设置 启用前关闭

Punishment ladder

Escalate automatically: what happens on a member’s 1st offence, 2nd, 3rd…

/moderation ladder13 项设置 默认开启

Server logs

Record edited and deleted messages, so nothing is lost

/logs server12 项设置 启用前关闭

Snipe

Who can read back a deleted or edited message with /snipe

/logs snipe2 项设置 默认开启

Webhook relay

Post a blocked message back through a webhook under its author’s name

/filter repost5 项设置 启用前关闭

Word blacklist

Block words before they are ever posted, using Discord AutoMod

/filter words13 项设置 启用前关闭

Member screening

A risk profile for every account that joins, and why

/screening config21 项设置 启用前关闭

Verification

Make new members prove they are a person before they can talk

/verify config15 项设置 启用前关闭
变量

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 管理表情符号和贴纸 管理表情 管理活动 创建私密子区 在子区中发送消息 禁言成员