mirror of
https://github.com/ReVanced/revanced-bots.git
synced 2026-01-29 14:11:02 +00:00
fix: ignore message if there's no content
This commit is contained in:
@@ -2,6 +2,7 @@ export default {
|
||||
name: 'message',
|
||||
once: false,
|
||||
async execute(msg) {
|
||||
if (!msg.text) return;
|
||||
global.helper.scanText(msg.text.toLowerCase(), `${msg.chat.id}/${msg.message_thread_id}/${msg.message_id}`);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user