mirror of
https://github.com/RafaelSolVargas/Vulkan.git
synced 2025-10-29 16:57:23 +00:00
12 lines
393 B
Python
12 lines
393 B
Python
from Views.AbstractCogResponse import AbstractCommandResponse
|
|
from Handlers.HandlerResponse import HandlerResponse
|
|
|
|
|
|
class EmbedCommandResponse(AbstractCommandResponse):
|
|
def __init__(self, response: HandlerResponse) -> None:
|
|
super().__init__(response)
|
|
|
|
async def run(self) -> None:
|
|
if self.response.embed:
|
|
await self.context.send(embed=self.response.embed)
|