You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.2 KiB
37 lines
1.2 KiB
import discord
|
|
from core.classes import Cog_Extension
|
|
from discord import app_commands
|
|
|
|
|
|
class Help(Cog_Extension):
|
|
@app_commands.command(name="help", description="Show how to use")
|
|
async def help(self, interaction: discord.Interaction):
|
|
embed = discord.Embed(
|
|
title="Help",
|
|
description="[see more](https://github.com/FuseFairy/DiscordBot-EdgeGPT/blob/main/README.md)\n\n**COMMANDS -**",
|
|
)
|
|
embed.add_field(
|
|
name="/bing_cookies",
|
|
value="Set and delete your Bing Cookies.",
|
|
inline=False,
|
|
)
|
|
embed.add_field(name="/bing", value="Chat with Bing.", inline=False)
|
|
embed.add_field(
|
|
name="/reset", value="Reset your Bing conversation.", inline=False
|
|
)
|
|
embed.add_field(
|
|
name="/switch_style",
|
|
value="Switch your Bing conversation style.",
|
|
inline=False,
|
|
)
|
|
embed.add_field(
|
|
name="/create_image",
|
|
value="Generate image by Bing Image Creator.",
|
|
inline=False,
|
|
)
|
|
await interaction.response.send_message(embed=embed)
|
|
|
|
|
|
async def setup(bot):
|
|
await bot.add_cog(Help(bot))
|