Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- async def my_eat_200(event):
- eat = int(re.search(r": \d+", event.raw_text).group().replace(": ", ""))
- if eat == 210:
- await client.send_message(sw_bot, "/eat")
- await logging("🔋Поел на "+str(eat))
- await client.send_message(log_chat, logging)
- elif eat < 200:
- await client.send_message(sw_bot, "/eat")
- await logging("🔋Поел на "+str(eat))
- await client.send_message(log_chat, logging)
- elif eat == 200 or eat == 100:
- await logging("🔋Поел на "+str(eat))
- await client.send_message(log_chat, logging)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement