Search in sources :

Example 1 with BasicDiscordException

use of exceptions.BasicDiscordException in project KaellyBot by Kaysoro.

the class JobCommand method request.

@Override
public boolean request(IMessage message) {
    if (super.request(message)) {
        Language lg = Translator.getLanguageFrom(message.getChannel());
        Matcher m = getMatcher(message);
        m.find();
        // TODO
        new BasicDiscordException("exception.basic.in_developpment");
    }
    return false;
}
Also used : Language(enums.Language) Matcher(java.util.regex.Matcher) BasicDiscordException(exceptions.BasicDiscordException)

Aggregations

Language (enums.Language)1 BasicDiscordException (exceptions.BasicDiscordException)1 Matcher (java.util.regex.Matcher)1