change @author tag to full name + github username for reference
This commit is contained in:
parent
3a41c3fd5e
commit
7047811eaa
@ -14,7 +14,7 @@ import java.util.function.BiConsumer;
|
|||||||
/**
|
/**
|
||||||
* This class adds command functionality to the TelegramLongPollingBot
|
* This class adds command functionality to the TelegramLongPollingBot
|
||||||
*
|
*
|
||||||
* @author tschulz
|
* @author Timo Schulz (Mit0x2)
|
||||||
*/
|
*/
|
||||||
public abstract class TelegramLongPollingCommandBot extends TelegramLongPollingBot implements ICommandRegistry {
|
public abstract class TelegramLongPollingCommandBot extends TelegramLongPollingBot implements ICommandRegistry {
|
||||||
private final CommandRegistry commandRegistry;
|
private final CommandRegistry commandRegistry;
|
||||||
|
@ -7,7 +7,7 @@ import org.telegram.telegrambots.bots.AbsSender;
|
|||||||
/**
|
/**
|
||||||
* Representation of a command, which can be executed
|
* Representation of a command, which can be executed
|
||||||
*
|
*
|
||||||
* @author tschulz
|
* @author Timo Schulz (Mit0x2)
|
||||||
*/
|
*/
|
||||||
public abstract class BotCommand {
|
public abstract class BotCommand {
|
||||||
public final static String COMMAND_INIT_CHARACTER = "/";
|
public final static String COMMAND_INIT_CHARACTER = "/";
|
||||||
|
@ -12,7 +12,7 @@ import java.util.function.BiConsumer;
|
|||||||
/**
|
/**
|
||||||
* This class manages all the commands for a bot. You can register and deregister commands on demand
|
* This class manages all the commands for a bot. You can register and deregister commands on demand
|
||||||
*
|
*
|
||||||
* @author tschulz
|
* @author Timo Schulz (Mit0x2)
|
||||||
*/
|
*/
|
||||||
public final class CommandRegistry implements ICommandRegistry {
|
public final class CommandRegistry implements ICommandRegistry {
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ import java.util.function.BiConsumer;
|
|||||||
/**
|
/**
|
||||||
* This Interface represents the gateway for registering and deregistering commands.
|
* This Interface represents the gateway for registering and deregistering commands.
|
||||||
*
|
*
|
||||||
* @author tschulz
|
* @author Timo Schulz (Mit0x2)
|
||||||
*/
|
*/
|
||||||
public interface ICommandRegistry {
|
public interface ICommandRegistry {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user