Skip to content

Added option to replace command prefix with alternative prefix#543

Open
ivanovsaleksejs wants to merge 3 commits into
reactiflux:mainfrom
ivanovsaleksejs:master
Open

Added option to replace command prefix with alternative prefix#543
ivanovsaleksejs wants to merge 3 commits into
reactiflux:mainfrom
ivanovsaleksejs:master

Conversation

@ivanovsaleksejs
Copy link
Copy Markdown

Sometimes you need to change a prefix of a command before sending it to IRC. For example, the IRC channel has bot that has s/ feature implemented. You can't send 's/a/b' from Discord (it's hardcoded to edit feature), instead you can send something like '!s/'. Modify your config:

"commandCharacters": ["!", ["!s", "s"]]

and it will replace prefix '!s' with 's' before sending.

@Throne3d
Copy link
Copy Markdown
Collaborator

Throne3d commented Aug 8, 2020

Hi there! I'm not currently maintaining this project for new features, only bug fixes, vulnerabilities, and what's necessary to keep it functioning.

Thanks for your contribution, but I'm not likely to merge it – sorry!

Base automatically changed from master to main January 22, 2021 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants