mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-11-10 05:40:24 +00:00
Update Client.ts
This commit is contained in:
parent
8bf79c2744
commit
2b72f87256
@ -1,6 +1,8 @@
|
|||||||
import Discord, { Client, Collection } from "discord.js";
|
import Discord, { Client, Collection } from "discord.js";
|
||||||
import fs from "fs";
|
|
||||||
import Datastore from "./client/classes/Datastore.js";
|
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 { command, radio } from "./client/utils/typings.js";
|
||||||
import config from "./config.js";
|
import config from "./config.js";
|
||||||
import messages from "./client/messages.js";
|
import messages from "./client/messages.js";
|
||||||
@ -22,6 +24,7 @@ class RadioClient extends Client {
|
|||||||
readonly config = config;
|
readonly config = config;
|
||||||
readonly messages = messages;
|
readonly messages = messages;
|
||||||
public datastore: Datastore | null;
|
public datastore: Datastore | null;
|
||||||
|
public streamer: Streamer | null;
|
||||||
constructor() {
|
constructor() {
|
||||||
super({
|
super({
|
||||||
intents: GatewayIntents
|
intents: GatewayIntents
|
||||||
@ -29,6 +32,7 @@ class RadioClient extends Client {
|
|||||||
this.commands = new Collection();
|
this.commands = new Collection();
|
||||||
this.radio = new Map();
|
this.radio = new Map();
|
||||||
this.datastore = null;
|
this.datastore = null;
|
||||||
|
this.streamer = null;
|
||||||
|
|
||||||
this.funcs = {};
|
this.funcs = {};
|
||||||
this.funcs.check = require("./client/funcs/check.js");
|
this.funcs.check = require("./client/funcs/check.js");
|
||||||
|
Loading…
Reference in New Issue
Block a user