Add !call command for sending DMs to users via mention or ID #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR implements a new
!callcommand that allows users to send direct messages to other users through the bot. The command supports both user mentions and direct user IDs for maximum flexibility.Changes Made
New Command Implementation
!callcommand that accepts@user <message>or<userID> <message>format📞 Съобщение от {sender} ({guild}):\n{message}Error Handling & Validation
User Experience
!call @user съобщениеили!call <userID> съобщение"Bug Fixes
onNickChangefunction that was causing parse errorsUsage Examples
The implementation follows existing codebase patterns, uses Bulgarian localization consistent with other commands, and includes comprehensive error handling for production use.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.