Battle-Cattle/BCUK-Bot-3

View on GitHub
src/main/java/com/expiredminotaur/bcukbot/twitch/command/whisper/WhisperCommand.java

Summary

Maintainability
A
0 mins
Test Coverage
package com.expiredminotaur.bcukbot.twitch.command.whisper;

import com.expiredminotaur.bcukbot.command.Command;
import reactor.core.publisher.Mono;

import java.util.function.Function;

public class WhisperCommand extends Command<WhisperCommandEvent>
{
    public WhisperCommand(Function<WhisperCommandEvent, Mono<Void>> task)
    {
        //TODO: restrict commands to an allowed list of users
        super(task, e -> true);
    }
}