TypeScript types

This commit is contained in:
Christer Warén
2023-06-04 05:48:42 +03:00
parent 9303c4fcc9
commit 3fc7337d0f
36 changed files with 131 additions and 119 deletions
+3 -1
View File
@@ -1,4 +1,6 @@
export default function loadState(client, guild){
import { Guild } from "discord.js";
export default function loadState(client: any, guild: Guild){
let data = client.datastore.getEntry(guild.id);
if(!data) return;
let state;