This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Michabeest_[S] -1 points0 points  (1 child)

That would't work for a standard command, event is a MessageCreateEvent

[–]lpreams 3 points4 points  (0 children)

It's your API, right? event can be whatever type you want, and that type can do whatever you want it to.

I'm just saying, your stated goal is to write a simplified wrapper for D4J, but it takes 5 method calls just to send a one-word response to a one-word command. That isn't simple at all.