didier/data/database_classes/custom_commands.py

13 lines
220 B
Python
Raw Normal View History

2021-05-17 18:14:33 +02:00
from attr import dataclass
@dataclass
class CustomCommand:
"""
Class to store custom commands being triggered
"""
id: int = None
name: str = None
response: str = None
alias_used: str = None