Skip to content

Commit

Permalink
Update commands-overview docs
Browse files Browse the repository at this point in the history
  • Loading branch information
olijeffers0n authored Sep 28, 2024
1 parent 4127139 commit 2172196
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/command-system/commands-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 2172196

Please sign in to comment.