fix a few warnings
This commit is contained in:
parent
7f99a31cbd
commit
7b161eac4b
3 changed files with 1 additions and 7 deletions
|
@ -6,9 +6,6 @@ import land.chipmunk.chayapak.chomens_bot.command.CommandContext;
|
|||
import land.chipmunk.chayapak.chomens_bot.command.TrustLevel;
|
||||
import net.kyori.adventure.text.Component;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class ClearChatQueueCommand extends Command {
|
||||
public ClearChatQueueCommand () {
|
||||
super(
|
||||
|
|
|
@ -28,13 +28,10 @@ public class HelpCommand extends Command {
|
|||
);
|
||||
}
|
||||
|
||||
private Bot bot;
|
||||
|
||||
private CommandContext context;
|
||||
|
||||
@Override
|
||||
public Component execute(CommandContext context, String[] args, String[] fullArgs) {
|
||||
this.bot = context.bot;
|
||||
this.context = context;
|
||||
|
||||
if (args.length == 0) {
|
||||
|
|
|
@ -30,7 +30,7 @@ public class Song {
|
|||
private final Bot bot;
|
||||
|
||||
public Song (String originalName, Bot bot, String songName, String songAuthor, String songOriginalAuthor, String songDescription, boolean nbs) {
|
||||
String name = "";
|
||||
String name;
|
||||
|
||||
// real ohio code
|
||||
// TODO: clean this up
|
||||
|
|
Loading…
Reference in a new issue