> For the complete documentation index, see [llms.txt](https://discortics.com/llms.txt). A consolidated single-file corpus is available at [llms-full.txt](https://discortics.com/llms-full.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://discortics.com/guides/command-arguments.md).

# Direct Commands

Add arguments to a prefix command to change a setting directly. Run the command with no arguments to open its panel instead.

## How to write them

- Examples use `;`. Replace it with your server's prefix, or mention the bot.
- `[brackets]` mark required values and `(parentheses)` mark optional ones. Leave the markers out.
- Put quotes around multi-word names and text that contains flag words.
- Flags need a value and can go in any order.
- Normal permissions, cooldowns, and confirmations still apply.

Select a row in the [command list](/commands) for its usage and examples.

## Autopilot

```text
;autopilot on
;antiflood set --characters 1500 --emojis 30 --sensitivity 5
;antiflood on
;antilink set --invites on --phishing on
;antilink blacklist add example.org
;antilink on
;antimention set --total 5 --users 3 --roles 2
;antimention on
;antispam set --duplicates 3 --duplicate-window 10s
;profanity presets set profanity slurs
;profanity on
;antiraid set --joins 10 --window 10s --detection on
;antiraid on
```

Each protection also supports `off`, `list`, whitelist changes, and punishment steps. Review the punishment before you turn a protection on. See [Automoderation](/guides/autopilot) and [Anti-Raid](/guides/anti-raid).

## Giveaways

```text
;gcreate #giveaways 1d 2 "A month of Nitro"
;gdrop #giveaways 1 "A surprise prize" --at-entry-count 20
;gedit giveaway-id --prize "Updated prize" --winners 3
;gconfig set dm on
;glist 2
```

A drop needs a milestone. See [Create a Giveaway](/guides/giveaway-create).

## Roles and messages

```text
;autorole add before @Member
;autorole set after @Verified
;booster roles add @Booster
;booster channel #boosts
;starboard channel #stars
;starboard threshold 5
;starboard on
;welcome set #welcome --msg "Welcome {{user.mention}}!" --delete 10s
;leave set #general --msg "Goodbye!"
;sticky set #general --msg "Read the rules" --delay 10s
;embed create Rules --msg "Read our rules before posting."
;embed list
```

Roles and channels accept mentions or IDs. See [Settings](/guides/settings), [Welcome](/guides/welcome), and [Embeds](/guides/embeds).

## Economy and other settings

```text
;esettings daily 100 250
;esettings work 50 150 1h
;esettings tax 5
;shop create --name "Member role" --price 500 --roles @Member
;shop buy item-id 2
;inventory use item-id
;inventory sell item-id 2
;discovery on
;command off ping
;command allow ping users @Member
```

New shop items start disabled. Enable them with `shop edit` or the shop manager. Replace `item-id` and `giveaway-id` with real IDs from the feature's `list` command or panel.

Applications, ticket panels, Self Roles, verification, suggestions, levels, and moderation settings also accept arguments. Run `;help` with the command name to see them.
