From 2172196be7911623221df8528a0b799bf5b5ec85 Mon Sep 17 00:00:00 2001 From: Ollie <69084614+olijeffers0n@users.noreply.github.com> Date: Sat, 28 Sep 2024 20:07:40 +0100 Subject: [PATCH] Update commands-overview docs --- docs/command-system/commands-overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/command-system/commands-overview.md b/docs/command-system/commands-overview.md index a167683..ef99663 100644 --- a/docs/command-system/commands-overview.md +++ b/docs/command-system/commands-overview.md @@ -8,7 +8,7 @@ from rustplus import RustSocket, CommandOptions, Command, ServerDetails, Command options = CommandOptions(prefix="!") # Use whatever prefix you want here server_details = ServerDetails("IP", "PORT", STEAMID, PLAYERTOKEN) -socket = RustSocket(server_details) +socket = RustSocket(server_details, command_options=options) @Command(server_details) async def hi(command : ChatCommand):