This commit is contained in:
dize_dev
2023-10-29 23:01:17 +06:00
commit f43aee3e57
15 changed files with 248 additions and 0 deletions
+85
View File
@@ -0,0 +1,85 @@
import asyncio
from vkbottle.user import Message
from config import bl, edit_message
from custom_rules.permission import Permission
@bl.message(Permission(), text="игра")
async def game(message: Message):
loader = (
'⬜⬜⬜⬜⬜⬜⬜⬜⬛⬛⬜⬜⬜⬜⬜⬜⬜',
"""
⬜⬜⬜⬜⬜⬜⬜⬜⬛⬛⬜⬜⬜⬜⬜⬜⬜
⬜⬜⬜⬜⬜⬜⬜⬛✊✊⬛⬜⬜⬜⬜⬜⬜
""",
"""
⬜⬜⬜⬜⬜⬜⬜⬜⬛⬛⬜⬜⬜⬜⬜⬜⬜
⬜⬜⬜⬜⬜⬜⬜⬜⬛⬛⬜⬜⬜⬜⬜⬜⬜
⬜⬜⬜⬜⬜⬜⬜⬛✊✊⬛⬜⬜⬜⬜⬜⬜
⬜⬜⬜⬜⬜⬜⬜⬛✊✊⬛⬜⬜⬜⬜⬜⬜
⬜⬜⬜⬜⬜⬜⬜⬛✊✊⬛⬜⬜⬜⬜⬜⬜
⬜⬜⬜⬜⬜⬜⬜⬛✊✊⬛⬜⬜⬜⬜⬜⬜
""",
"""
⬜⬜⬜⬜⬜⬜⬜⬜⬛⬛⬜⬜⬜⬜⬜⬜⬜
⬜⬜⬜⬜⬜⬜⬜⬜⬛⬛⬜⬜⬜⬜⬜⬜⬜
⬜⬜⬜⬜⬜⬜⬜⬛✊✊⬛⬜⬜⬜⬜⬜⬜
⬜⬜⬜⬜⬜⬜⬜⬛✊✊⬛⬜⬜⬜⬜⬜⬜
⬜⬜⬜⬜⬜⬜⬜⬛✊✊⬛⬜⬜⬜⬜⬜⬜
⬜⬜⬜⬜⬜⬜⬜⬛✊✊⬛⬜⬜⬜⬜⬜⬜
⬜⬜⬜⬜⬜⬜⬜⬛✊✊⬛⬜⬜⬜⬜⬜⬜
⬜⬜⬜⬜⬜⬛⬛⬛✊✊⬛⬛⬛⬜⬜⬜⬜
⬜⬜⬜⬜⬛✊✊⬛✊✊⬛✊✊⬛⬛⬛⬜
⬜⬜⬜⬜⬛✊✊⬛✊✊⬛✊✊⬛✊✊⬛
⬜⬛⬜⬜⬛✊✊⬛✊✊⬛✊✊⬛✊✊⬛
""",
"""
⬜⬜⬜⬜⬜⬜⬜⬜⬛⬛⬜⬜⬜⬜⬜⬜⬜
⬜⬜⬜⬜⬜⬜⬜⬜⬛⬛⬜⬜⬜⬜⬜⬜⬜
⬜⬜⬜⬜⬜⬜⬜⬛✊✊⬛⬜⬜⬜⬜⬜⬜
⬜⬜⬜⬜⬜⬜⬜⬛✊✊⬛⬜⬜⬜⬜⬜⬜
⬜⬜⬜⬜⬜⬜⬜⬛✊✊⬛⬜⬜⬜⬜⬜⬜
⬜⬜⬜⬜⬜⬜⬜⬛✊✊⬛⬜⬜⬜⬜⬜⬜
⬜⬜⬜⬜⬜⬜⬜⬛✊✊⬛⬜⬜⬜⬜⬜⬜
⬜⬜⬜⬜⬜⬛⬛⬛✊✊⬛⬛⬛⬜⬜⬜⬜
⬜⬜⬜⬜⬛✊✊⬛✊✊⬛✊✊⬛⬛⬛⬜
⬜⬜⬜⬜⬛✊✊⬛✊✊⬛✊✊⬛✊✊⬛
⬜⬛⬜⬜⬛✊✊⬛✊✊⬛✊✊⬛✊✊⬛
⬛✊⬛⬜⬛✊✊✊✊✊✊✊✊✊✊✊⬛
⬛✊✊⬛⬛✊✊✊✊✊✊✊✊✊✊✊⬛
⬜⬛✊✊✊✊✊✊✊✊✊✊✊✊✊✊⬛
⬜⬜⬛✊✊✊✊✊✊✊✊✊✊✊✊✊⬛
⬜⬜⬜⬛✊✊✊✊✊✊✊✊✊✊✊✊⬛
""",
"""
⬜⬜⬜⬜⬜⬜⬜⬜⬛⬛⬜⬜⬜⬜⬜⬜⬜
⬜⬜⬜⬜⬜⬜⬜⬜⬛⬛⬜⬜⬜⬜⬜⬜⬜
⬜⬜⬜⬜⬜⬜⬜⬛✊✊⬛⬜⬜⬜⬜⬜⬜
⬜⬜⬜⬜⬜⬜⬜⬛✊✊⬛⬜⬜⬜⬜⬜⬜
⬜⬜⬜⬜⬜⬜⬜⬛✊✊⬛⬜⬜⬜⬜⬜⬜
⬜⬜⬜⬜⬜⬜⬜⬛✊✊⬛⬜⬜⬜⬜⬜⬜
⬜⬜⬜⬜⬜⬜⬜⬛✊✊⬛⬜⬜⬜⬜⬜⬜
⬜⬜⬜⬜⬜⬛⬛⬛✊✊⬛⬛⬛⬜⬜⬜⬜
⬜⬜⬜⬜⬛✊✊⬛✊✊⬛✊✊⬛⬛⬛⬜
⬜⬜⬜⬜⬛✊✊⬛✊✊⬛✊✊⬛✊✊⬛
⬜⬛⬜⬜⬛✊✊⬛✊✊⬛✊✊⬛✊✊⬛
⬛✊⬛⬜⬛✊✊✊✊✊✊✊✊✊✊✊⬛
⬛✊✊⬛⬛✊✊✊✊✊✊✊✊✊✊✊⬛
⬜⬛✊✊✊✊✊✊✊✊✊✊✊✊✊✊⬛
⬜⬜⬛✊✊✊✊✊✊✊✊✊✊✊✊✊⬛
⬜⬜⬜⬛✊✊✊✊✊✊✊✊✊✊✊✊⬛
⬜⬜⬜⬜⬛✊✊✊✊✊✊✊✊✊✊✊⬛
⬜⬜⬜⬜⬛✊✊✊✊✊✊✊✊✊✊✊⬛
⬜⬜⬜⬜⬜⬛✊✊✊✊✊✊✊✊✊⬛⬜
⬜⬜⬜⬜⬜⬜⬛⬛⬛⬛⬛⬛⬛⬛⬛⬜⬜
""",
)
for new_text in loader:
await edit_message(
message,
new_text
)
await asyncio.sleep(1)