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