Skip to content

Added support for multi-character prefixes - #20

Open
Murky-MoMo wants to merge 1 commit into
c3duan:masterfrom
Murky-MoMo:patch-1
Open

Added support for multi-character prefixes#20
Murky-MoMo wants to merge 1 commit into
c3duan:masterfrom
Murky-MoMo:patch-1

Conversation

@Murky-MoMo

Copy link
Copy Markdown

as the code was, if the prefix was something like "m!", it won't work since message.toString()[0] is m, .startsWith() fixes this

as the code was, if the prefix was something like "m!", it won't work since message.toString()[0] is m, <String>.startsWith() fixes this
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