Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: crashing when slash command is used as text command #349

Merged
merged 3 commits into from
Jan 7, 2024
Merged

Conversation

jacoobes
Copy link
Member

@jacoobes jacoobes commented Jan 7, 2024

commandModules with CommandType.Slash will crash if a user uses a text command of that same name

ie:

commandModule({
  name: 'add'
  type: CommandType.Slash
})
>> input = !add 

>> crash

@jacoobes jacoobes changed the title fix: id fix: crashing when slash command is used as text command Jan 7, 2024
@jacoobes jacoobes merged commit a359f73 into main Jan 7, 2024
4 checks passed
@jacoobes jacoobes deleted the fix/id branch February 13, 2024 04:51
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