diff --git a/README.md b/README.md index 4d78591..4e73f71 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ You can download the latest release [here](https://github.com/KarlOfDuty/SCPDisc - [Editing messages and languages](docs/Languages.md) -- [Commands](docs/Commands.md) +- [Usage](docs/Usage.md) - [Building SCPDiscord](docs/Building.md) @@ -38,7 +38,7 @@ You can use server and remote admin commands via the bot, with command permissio ### Extra commands The bot also comes with a few extra commands such as playerinfo, improved ban/unban, and improved mute/unmute commands which all also work on offline players. -More information about bot commands are available [here](docs/Commands.md). +More information about bot commands are available [here](docs/Usage.md). ![helpcommand.png](docs%2Fimg%2Fhelpcommand.png) diff --git a/SCPDiscordBot/Commands/HelpCommand.cs b/SCPDiscordBot/Commands/HelpCommand.cs index 3eba2ad..89581c9 100644 --- a/SCPDiscordBot/Commands/HelpCommand.cs +++ b/SCPDiscordBot/Commands/HelpCommand.cs @@ -19,7 +19,7 @@ public async Task OnExecute(InteractionContext command) .AddField("Connected:", NetworkSystem.IsConnected() ? "Yes" : "No", true) .AddField("\u200b", "\u200b", true) .AddField("Report bugs:", "[Github Issues](https://github.com/KarlofDuty/SCPDiscord/issues)", true) - .AddField("Commands:", "[Github Repository](https://github.com/KarlOfDuty/SCPDiscord/blob/master/docs/Commands.md)", true) + .AddField("Commands:", "[Github Repository](https://github.com/KarlOfDuty/SCPDiscord/blob/master/docs/Usage.md)", true) .AddField("Donate:", "[Github Sponsors](https://github.com/sponsors/KarlOfDuty)", true); await command.CreateResponseAsync(botInfo); } diff --git a/docs/Commands.md b/docs/Usage.md similarity index 88% rename from docs/Commands.md rename to docs/Usage.md index 6366789..a03b77d 100644 --- a/docs/Commands.md +++ b/docs/Usage.md @@ -1,4 +1,12 @@ -# Bot commands +# Usage + +## Bot command line arguments + +| Argument | Description | +|--------------------------|-----------------------------------------------------------------------------------| +| `--help` | Shows information about all arguments. | +| `--config ` | Select a specific config file to load. | +| `--leave ` | Make the bot leave one or more Discord servers. The IDs are shown on bot startup. | ## Bot commands