-
Notifications
You must be signed in to change notification settings - Fork 0
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 Support for text-based commands #93
base: main
Are you sure you want to change the base?
Conversation
Can you also add hybrid commands in this pr? |
dunno if I put them in this pr since text commands itself are already quite a big thing to implement |
Alright 👍 |
# Conflicts: # src/main/java/xyz/dynxsty/dih4jda/InteractionHandler.java # src/main/java/xyz/dynxsty/dih4jda/config/DIH4JDAConfig.java
* This method can be accessed from the {@link DIH4JDA} instance. | ||
* <br>This is automatically executed each time the {@link ListenerAdapter#onReady(net.dv8tion.jda.api.events.session.ReadyEvent)} event is executed. | ||
* (can be disabled using {@link DIH4JDABuilder#disableAutomaticCommandRegistration()}) | ||
*/ | ||
public void registerInteractions() { | ||
public void registerCommands() { |
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.
Isn't this a breaking change for the user?
# Conflicts: # src/main/java/xyz/dynxsty/dih4jda/DIH4JDA.java # src/main/java/xyz/dynxsty/dih4jda/DIH4JDALogger.java # src/main/java/xyz/dynxsty/dih4jda/events/DIH4JDAEvent.java
Pull Request Etiquette
Changes
Closes Issue: #58
Description
This PR introduces text-based commands