switch to twurple

This commit is contained in:
Darius
2025-09-26 15:14:03 +02:00
parent 9a961363f3
commit 47a4103176
12 changed files with 345 additions and 103 deletions

View File

@@ -1,4 +1,5 @@
import type { ChatUserstate, Client } from "tmi.js";
import type { ChatMessage } from "@twurple/chat";
import { logSuccess } from "../logger/logger.ts";
import type { ICommand, ICommandRequirements } from "./interface.ts";
export class SongCommand implements ICommand {
@@ -12,12 +13,12 @@ export class SongCommand implements ICommand {
};
triggered = async (
client: Client,
channel: string,
_state: ChatUserstate,
_message: string,
_args: Array<string>,
user: string,
text: string,
msg: ChatMessage,
) => {
client.say(channel, "testing");
logSuccess(`${channel} song command triggered`);
// client.say(channel, "testing");
};
}