Typescript Continuum

This commit is contained in:
Christer Warén
2023-06-05 00:13:15 +03:00
parent 0e62861e33
commit c584e3632e
33 changed files with 152 additions and 94 deletions
+3 -1
View File
@@ -1,6 +1,8 @@
import { Guild } from "discord.js";
import RadioClient from "../../Client";
export default function loadState(client: any, guild: Guild){
export default function loadState(client: RadioClient, guild: Guild){
if(!client.datastore) return;
let data = client.datastore.getEntry(guild.id);
if(!data) return;
let state;