feat(register): add convenience getter

This commit is contained in:
tueem 2025-03-16 01:49:24 +01:00
parent 4e27e6ce56
commit 630c8ddee5
Signed by: tueem
GPG Key ID: 65C8667EC17A88FB

View File

@ -95,6 +95,10 @@ public class SlashCommandDefinition {
return this.rootIdentifier().equals(other.rootIdentifier());
}
public long[] serverIds() {
return rootIdentifier().serverIds();
}
public Set<InteractionIdentifier> entries() {
return this.entries;
}