|
|
@ -626,11 +626,19 @@ class Commands(discord.Cog, name="Commands"):
|
|
|
|
@discord.message_command(
|
|
|
|
@discord.message_command(
|
|
|
|
name="Paraphrase",
|
|
|
|
name="Paraphrase",
|
|
|
|
guild_ids=ALLOWED_GUILDS,
|
|
|
|
guild_ids=ALLOWED_GUILDS,
|
|
|
|
checks=[Check.check_dalle_roles()],
|
|
|
|
checks=[Check.check_gpt_roles()],
|
|
|
|
)
|
|
|
|
)
|
|
|
|
async def paraphrase_action(self, ctx, message: discord.Message):
|
|
|
|
async def paraphrase_action(self, ctx, message: discord.Message):
|
|
|
|
await self.converser_cog.paraphrase_action(ctx, message)
|
|
|
|
await self.converser_cog.paraphrase_action(ctx, message)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@discord.message_command(
|
|
|
|
|
|
|
|
name="Elaborate",
|
|
|
|
|
|
|
|
guild_ids=ALLOWED_GUILDS,
|
|
|
|
|
|
|
|
checks=[Check.check_gpt_roles()],
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
async def elaborate_action(self, ctx, message: discord.Message):
|
|
|
|
|
|
|
|
await self.converser_cog.elaborate_action(ctx, message)
|
|
|
|
|
|
|
|
|
|
|
|
# Search slash commands
|
|
|
|
# Search slash commands
|
|
|
|
@discord.slash_command(
|
|
|
|
@discord.slash_command(
|
|
|
|
name="search",
|
|
|
|
name="search",
|
|
|
|