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

View File

@ -1,6 +1,8 @@
import { Message } from "discord.js";
export default {
name: 'messageDelete',
async execute(client, msg) {
async execute(client: any, msg: Message) {
if(!msg.author.bot || !msg.guild) return;
const radio = client.radio.get(msg.guild.id);
if(!radio) return;