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

15 lines
419 B
Python

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