Skip to content

Use configured chat command prefixes instead of hardcoded slash#57

Open
WeirdPhrog wants to merge 3 commits intorust-app-io:mainfrom
WeirdPhrog:chat-prefixes
Open

Use configured chat command prefixes instead of hardcoded slash#57
WeirdPhrog wants to merge 3 commits intorust-app-io:mainfrom
WeirdPhrog:chat-prefixes

Conversation

@WeirdPhrog
Copy link
Copy Markdown
Contributor

  • Replaced hardcoded "/" command detection with configured chat prefixes from Oxide/Carbon
  • Updated chat command parsing to support all configured prefixes, including quoted input
  • Kept "/" as fallback when no framework prefixes are available

- refactor StableRequest to reuse common request setup
- add non-generic Execute overload for requests that don't use response payload
- remove unnecessary response deserialization to reduce allocations
- keep existing request flow and pooling behavior intact
- improve null-safety in several API response handlers
- Replaced hardcoded "/" command detection with configured chat prefixes from Oxide/Carbon
- Updated chat command parsing to support all configured prefixes, including quoted input
- Kept "/" as fallback when no framework prefixes are available
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant