1
0
Fork 0
forked from waifu/kemoverse
kemoverse/bot/custom_types.py
2025-06-01 12:24:53 +01:00

21 lines
449 B
Python

from typing import TypedDict, List, Dict, Any
BotResponse = TypedDict('BotResponse', {
'message': str,
'attachment_urls': List[str] | None
})
Character = TypedDict('Character', {
'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]
})