fix clearchatqueue?

This commit is contained in:
Chayapak 2023-05-04 15:30:25 +07:00
parent 12ba6ea472
commit da793d178c
2 changed files with 2 additions and 1 deletions

View file

@ -36,6 +36,7 @@ public class ClearChatQueueCommand implements Command {
public Component execute(CommandContext context, String[] args, String[] fullArgs) {
final Bot bot = context.bot();
bot.chat()._queue().clear();
bot.chat().queue().clear();
return null;

View file

@ -35,7 +35,7 @@ public class ChatPlugin extends Bot.Listener {
private final CommandSpyParser commandSpyParser;
@Getter private final List<String> queue = new ArrayList<>();
private final List<String> _queue = new ArrayList<>();
@Getter private final List<String> _queue = new ArrayList<>();
private final List<Listener> listeners = new ArrayList<>();