mirror of https://github.com/coddrago/Heroku
test
parent
404a98443b
commit
aedf88f24a
|
@ -136,6 +136,7 @@ class InlineStuff(loader.Module):
|
|||
async def aiogram_watcher(self, message: BotInlineMessage):
|
||||
if message.text != "/profile":
|
||||
return
|
||||
|
||||
if message.sender.id != self.client.tg_id:
|
||||
await message.answer("You are not allowed to use this")
|
||||
|
||||
|
|
Loading…
Reference in New Issue