-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
Add wiki command #317
Add wiki command #317
Conversation
Signed-off-by: Joshua Castle <[email protected]>
Signed-off-by: Joshua Castle <[email protected]>
Signed-off-by: Joshua Castle <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be /wiki like it was originally, imo. Could do an alias !search for !wiki, /search should make /wiki show up since it's in the description anyway, but I'd need to test.
Everything else looks good, but I recommend 4 spaces for continuous indention so it looks better.
src/main/java/org/geysermc/discordbot/commands/search/SearchCommand.java
Outdated
Show resolved
Hide resolved
src/main/java/org/geysermc/discordbot/commands/search/SearchCommand.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Joshua Castle <[email protected]>
Changed to /wiki. |
Signed-off-by: Joshua Castle <[email protected]>
Signed-off-by: Joshua Castle <[email protected]>
src/main/java/org/geysermc/discordbot/listeners/SwearHandler.java
Outdated
Show resolved
Hide resolved
Co-authored-by: rtm516 <[email protected]>
Note: Algolia search API key was pushed intentionally; this is already publicly distributed as part of the wiki bundle.
Usage
/wiki <query>
Demo
search_demo.mp4