bump libs
migrate to typescript 6 remove ytdl feature
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ export class Ban extends Command {
|
||||
);
|
||||
|
||||
async execute(msg: Message) {
|
||||
if (!msg.reply_to_message) return;
|
||||
if (!msg.reply_to_message || !msg.from || ! msg.reply_to_message.from) return;
|
||||
|
||||
const user = msg.reply_to_message.from;
|
||||
const userId = user.id;
|
||||
|
||||
Reference in New Issue
Block a user