"""Session Base Command.

This module is used to build command from packet.

:Copyright: Copyright (C) 2021-2021  cscs181
:License: AGPL-3.0 or later. See `LICENSE`_ for detail.

.. _LICENSE:
    https://github.com/cscs181/CAI/blob/master/LICENSE
"""

from dataclasses import dataclass


@dataclass
class Event:
    @property
    def type(self) -> str:
        return self.__class__.__name__


@dataclass
class BotEvent(Event):
    ...
