模块、变量和设置的说明是英文的。它们是机器人自己的话,与它在 Discord 内所说的完全一致,而在那里它们还没有被翻译。命令在本站以英文列出;Discord 则以每位成员自己的语言显示命令的名称和说明。
开始使用
三件事,按这个顺序。第二件是人们会跳过的一步,也是机器人看起来什么都没做的原因。
把机器人添加到你的服务器
使用邀请链接。它只请求代码真正用到的 29 项权限,一项都不多。你可以取消勾选其中任意一项——某个功能缺少某项权限时,它自己的命令之后会告诉你,而不是悄无声息地失败。
把它的身份组移到它所管理的身份组之上
打开服务器设置 → 身份组,把 sick 拖到它们上方。Discord 不允许任何机器人对最高身份组在机器人自己之上的人执行封禁、踢出、禁言或分配身份组。这是 Discord 的规则,不是我们的,没有任何权限可以越过它。
输入功能的名字
/welcome、/logs、/antinuke——每个都会打开一个面板:全部设置及其当前的值、功能运行前还缺什么,并在机器人缺少该功能所需权限时给出实时警告。每项设置都在这个面板上修改。修改设置永远不会开启任何东西——Turn on才会,之后同一个按钮就是Turn off。大多数模块在有人按下它之前都保持关闭;少数默认开启的模块在下面列出。
60 个模块
每一个都通过它卡片上的命令来设置。大多数会保持关闭,直到有人在它的面板上按下Turn on;从机器人到来的那一刻起就开启的例外是 Activity、AFK、Created channels、Giveaways、Language、Listening、Music sources、Premium、Quotes、Text commands、Transcribe、Moderation log、Punishment ladder和Snipe。下面的每张卡片都写明了它属于哪种。
Activity
Count messages, voice time and channel usage, so the server can be reported on
Activity ping
A role for everyone, pinged when chat goes quiet
AFK
Members can say they are away; anyone who mentions them is told
Applications
Openings people apply for, reviewed and voted on by staff
Auto threads
Start a thread under every new member message in the channels you choose
Automatic roles
Give roles to new members once they are through verification and screening
Birthdays
Members share a birthday and the server celebrates it on the day
Bump reminder
Reminds the server to bump on Disboard when the cooldown ends
Command channels
Keep commands to the channels meant for them
Counting
A channel where members count upwards together, and the bot keeps the number
Created channels
One category for every channel I make for you, made the first time I need it
Custom commands
Commands the server writes itself, and replies to what people say
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
Levels
Earn XP for chatting and in voice, level up, with role rewards and level-up announcements
Listening
Who knows an artist, crowns and server lists from /fm
Live stat channels
Locked voice channels whose names show live counts
Modmail
Members message the bot; staff answer in a private channel
Music
A voice player with a queue, a panel, a DJ role and votes
Music sources
Which sites and link kinds the music player may play from
Partnerships
Partner applications, verification, renewals and how announcements go out
Polls
Ask the server something, and say what it answered
Premium
The paid tier: a supporter role for whoever activates it, and unlocked limits
Quotes
Who may turn a message into a quote card with /quote, and how often
Reviews
Ratings out of five with the whole review, posted where you choose
Rotating status
A few short lines that take turns as the bot’s status, or as a channel’s name
Social alerts
Post when a YouTube channel uploads or a Twitch streamer goes live
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
Sticky messages
Keep one message at the bottom of a channel, posted again as people talk
Suggestions
Members suggest, the server votes, staff answer
Text commands
Run commands with a prefix as well as with slash
Tickets
Private support channels members open from a panel
Transcribe
Whether /transcribe may write out a voice message as text
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-delete
Remove a channel’s messages on their own: after so many newer ones, after an age, or both
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
Temporary roles
Lend a role for a while; the bot takes it back when the time is up
Term lists
Named lists of words with their own action: block, alert, time out, relay or nuke
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
26 个可用于消息的变量
在你为机器人写的消息里——欢迎消息,或你用 /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生日
{birthday}The date of the birthday, without the year14 March{age}The age they are turning. Empty when they gave no year or the server hides ages25计数
{number}The number the channel is at1,234{number.next}The number that comes next1,235{number.high}The highest the channel has ever got5,000随机
{choose}One of several options at random — {choose:hi|hello|hey}hello邀请索取什么
这个列表由各模块和命令声明的权限生成,所以它恰好就是代码能用到的那一组——不是虚增的请求。