--- title: Red DiscordBot 管理常用指令說明書 description: 整理一些常用 cog 與指令的中文說明,幫助理解與上手操作。 --- Red DiscordBot 常用指令說明書 === :::info 由 `<>` 所包夾的註解為**必填**參數 由 `[]` 所包夾的註解為**選填**參數 指令的前贅字元(prefix)以 `y!` 為例 ::: ## roletools 各種身份組的工具指令。 包括 **表情符號身份組**(Reaction role)、**黏性身份組**(Sticky role) 和 **自動配發身份組**(Auto role)。 :::success 作者:TrustyJAID 新增 repo 的命令:`y!repo add trusty-cogs https://github.com/TrustyJAID/Trusty-cogs` 新增 cog 的命令:`y!cog install trusty-cogs roletools` tags:`utility`, `mod` ::: ### 表情符號身份組(Reaction role) - `<message>` : 由 **頻道_ID**-**訊息_ID** 組成,例如 `861490968276369428-915492158939742238`。**按住 SHIFT 的同時複製訊息 ID**,可以取得。 - `<emoji>` : 指定的**表情符號** - `<role>` : 獲取的**身份組** #### `react`: 新增表情符號身份組 ``` y!roletools react <message> <emoji> <role> ``` #### `remreact`: 移除表情符號身份組 ``` y!roletools remreact <message> <role_or_emoji> ``` #### `reactroles:` 查看目前已綁定的表情符號身份組 ``` y!rolerools reactroles ``` ### ----- ## Autoroom - 新增來源 : ``` y!autoroomset create <頻道ID> <類別ID> ``` - 自訂義名稱範本 : ``` y!autoroomset modify name custom <頻道ID> 🔈{{game}}{% if not game %}🔈Game{% endif %}{% if dupenum > 0 %}-{{dupenum}}{% endif %} ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up