From 7b92d362666d96d1f7fd9ab3ad082da24d06e2ed Mon Sep 17 00:00:00 2001 From: Team Alexa <110902508+TheTeamAlexa@users.noreply.github.com> Date: Thu, 30 Nov 2023 15:36:55 +0500 Subject: [PATCH] Alexa Music --- AlexaMusic/plugins/play/play.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/AlexaMusic/plugins/play/play.py b/AlexaMusic/plugins/play/play.py index 39e1d254..519f69ae 100644 --- a/AlexaMusic/plugins/play/play.py +++ b/AlexaMusic/plugins/play/play.py @@ -54,6 +54,11 @@ async def play_commnd( url, fplay, ): + if not await is_served_user(message.from_user.id): + await message.reply_text( + text="😢 ᴅᴇᴀʀ ʏᴏᴜ ᴀʀᴇ ɴᴏᴛ ᴀ ᴠᴇʀɪғɪᴇᴅ ᴀᴛ ᴀʟᴇxᴀ ᴅᴀᴛᴀʙᴀsᴇ.\n☔ ᴘʟᴇᴀsᴇ ᴜsᴇ /verify ᴛᴏ ᴠᴇʀɪғʏ ʏᴏᴜʀsᴇʟғ ᴀᴛ ᴀʟᴇxᴀ ᴅᴀᴛᴀʙᴀsᴇ.", + ) + return mystic = await message.reply_text( _["play_2"].format(channel) if channel else _["play_1"] )