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
+2 -2
View File
@@ -5,8 +5,8 @@ export default {
name: 'statistics',
description: 'Show statistics',
category: 'info',
execute(interaction, client) {
let message = {};
execute(interaction: any, client: any) {
let message: any = {};
let stations = client.stations;
let currentGuild = client.datastore.getEntry(interaction.guild.id);
let global = client.datastore.getEntry("global");