From 2b72f8725658901fb9ad296d190662379b46134a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Sat, 11 Sep 2021 17:11:10 +0300 Subject: [PATCH] Update Client.ts --- src/Client.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Client.ts b/src/Client.ts index 7bd7c7f..af0c835 100644 --- a/src/Client.ts +++ b/src/Client.ts @@ -1,6 +1,8 @@ import Discord, { Client, Collection } from "discord.js"; -import fs from "fs"; import Datastore from "./client/classes/Datastore.js"; +import Radio from "./client/classes/Radio.js"; +import Streamer from "./client/classes/Streamer.js"; +import fs from "fs"; import { command, radio } from "./client/utils/typings.js"; import config from "./config.js"; import messages from "./client/messages.js"; @@ -22,6 +24,7 @@ class RadioClient extends Client { readonly config = config; readonly messages = messages; public datastore: Datastore | null; + public streamer: Streamer | null; constructor() { super({ intents: GatewayIntents @@ -29,6 +32,7 @@ class RadioClient extends Client { this.commands = new Collection(); this.radio = new Map(); this.datastore = null; + this.streamer = null; this.funcs = {}; this.funcs.check = require("./client/funcs/check.js");