Kaktushose / jda-commands

A declarative, annotation driven command library for JDA
https://github.com/Kaktushose/jda-commands/wiki
Apache License 2.0
67 stars 11 forks source link

[FEATURE] Ignore non-jda-commands interactions #131

Closed Kaktushose closed 8 months ago

Kaktushose commented 9 months ago

Currently, jda-commands listens for all interactions, resulting in error messages if the user implements additional vanilla interactions with JDA.

Implementation idea:

add a prefix, e.g. jdac- to all interaction ids. On incoming events, check for the prefix, else ignore the event