mirror of
https://github.com/qwerinope/qweribot.git
synced 2025-12-20 04:11:38 +01:00
created timeout function and minor changes
This commit is contained in:
@@ -4,7 +4,7 @@ import { EventSubHttpListener, ReverseProxyAdapter } from "@twurple/eventsub-htt
|
||||
import { intents } from "./commands";
|
||||
|
||||
const CHATTERBASEINTENTS = ["user:read:chat", "user:write:chat", "user:bot"];
|
||||
const STREAMERBASEINTENTS = ["user:read:chat", "channel:bot", "moderation:read"];
|
||||
const STREAMERBASEINTENTS = ["user:read:chat", "moderation:read", "channel:manage:moderators"];
|
||||
|
||||
export const singleUserMode = process.env.CHATTER_IS_STREAMER === 'true';
|
||||
export const chatterId = process.env.CHATTER_ID ?? "";
|
||||
@@ -38,4 +38,6 @@ export const eventSub = new EventSubHttpListener({
|
||||
|
||||
export const commandPrefix = process.env.COMMAND_PREFIX ?? "!";
|
||||
|
||||
export const unbannableUsers = [chatterId, streamerId]
|
||||
|
||||
await import("./events");
|
||||
|
||||
Reference in New Issue
Block a user