Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- elif msg.lower() in ['инфа']:
- if user_id in roli['admin']:
- text = "[id"+str(user_id)+"|"+self.username(user_id) + self.userfamil(user_id)"] - роль: Администратор"
- self.send(peer_id=peer_id, message=text)
- elif user_id not in roli['admin']:
- text = "[id"+str(user_id)+"|"+self.username(user_id) + self.userfamil(user_id)"] - роль: обычный пользователь"
- self.send(peer_id=peer_id, message=text)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement