Closed artemiswkearney closed 3 years ago
Oh, thanks for bringing this up. I need to fix this since quite some time. I will add some constants or an enum (Which would you prefer?) for that.
For now: NoRequireDiscord
corresponds to the value of 1
.
enum EDiscordCreateFlags {
DiscordCreateFlags_Default = 0,
DiscordCreateFlags_NoRequireDiscord = 1,
};
I'm not sure what's idiomatic in Java, but an enum sounds good?
Please have a look at #26 and tell me what you think about it
Looks like a good solution, if a bit overkill for a single flag. (Maybe they'll add more someday?)
The CreateFlags enum has two values in the Discord docs, but this library only provides
CreateParams.getDefaultFlags()
, and it doesn't look like Discord has documented anywhere whatlong
valueNoRequireDiscord
corresponds to.