You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
715 B
37 lines
715 B
/*
|
|
* To change this license header, choose License Headers in Project Properties.
|
|
* To change this template file, choose Tools | Templates
|
|
* and open the template in the editor.
|
|
*/
|
|
package moe.nekojimi.chords.commands;
|
|
|
|
import moe.nekojimi.chords.Chords;
|
|
|
|
/**
|
|
*
|
|
* @author jimj316
|
|
*/
|
|
public abstract class Command
|
|
{
|
|
|
|
protected final Chords bot;
|
|
protected final String keyword;
|
|
|
|
public Command(Chords bot, String keyword)
|
|
{
|
|
this.bot = bot;
|
|
this.keyword = keyword;
|
|
}
|
|
|
|
public abstract void call(Invocation invocation);
|
|
|
|
public String getKeyword()
|
|
{
|
|
return keyword;
|
|
}
|
|
|
|
// public abstract String synopsis();
|
|
//
|
|
// public abstract String help();
|
|
|
|
}
|
|
|