1
0
Fork 0
forked from waifu/kemoverse
kemoverse/bot/custom_types.py
2025-06-07 19:23:17 +01:00

21 lines
439 B
Python

from typing import TypedDict, List, Dict, Any
BotResponse = TypedDict('BotResponse', {
'message': str,
'attachment_urls': List[str] | None
})
Card = TypedDict('Card', {
'id': int,
'name': str,
'rarity': int,
'weight': float,
'image_url': str
})
ParsedNotification = TypedDict('ParsedNotification', {
'author': str,
'command': str | None,
'arguments': List[str],
'note_obj': Dict[str, Any]
})