Files
AstrBot/model/command/command_rev_chatgpt.py
T
2023-04-01 01:02:16 +08:00

17 lines
425 B
Python

from model.command.command import Command
from model.provider.provider_rev_chatgpt import ProviderRevChatGPT
class CommandRevChatGPT(Command):
def __init__(self, provider: ProviderRevChatGPT):
super().__init__(provider)
def check_command(self, message: str):
hit, res = super().check_command(message)
if hit:
return res
return False, None