Z3ktrix commited on
Commit
a68f4be
Β·
verified Β·
1 Parent(s): df9d99f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -98,8 +98,8 @@ async def set_prefix(ctx, prefix: str):
98
  bot.command_prefix = commands.when_mentioned_or(prefix)
99
  await ctx.send(f"Command prefix changed to: {prefix}")
100
 
101
- @bot.command(name='help')
102
- async def help_command(ctx):
103
  help_text = (
104
  "Here are the commands you can use:\n"
105
  "!ask <question> [temperature] [max_tokens] [top_k] [top_p] - Ask a question to the AI model.\n"
@@ -109,7 +109,7 @@ async def help_command(ctx):
109
  " top_k (default=50) - Limits the number of highest probability vocabulary tokens to consider.\n"
110
  " top_p (default=0.9) - Limits the cumulative probability of the highest probability vocabulary tokens.\n"
111
  "!setprefix <prefix> - Change the command prefix (admin only).\n"
112
- "!help - Display this help message."
113
  )
114
  await ctx.send(help_text)
115
 
 
98
  bot.command_prefix = commands.when_mentioned_or(prefix)
99
  await ctx.send(f"Command prefix changed to: {prefix}")
100
 
101
+ @bot.command(name='help_custom')
102
+ async def help_custom(ctx):
103
  help_text = (
104
  "Here are the commands you can use:\n"
105
  "!ask <question> [temperature] [max_tokens] [top_k] [top_p] - Ask a question to the AI model.\n"
 
109
  " top_k (default=50) - Limits the number of highest probability vocabulary tokens to consider.\n"
110
  " top_p (default=0.9) - Limits the cumulative probability of the highest probability vocabulary tokens.\n"
111
  "!setprefix <prefix> - Change the command prefix (admin only).\n"
112
+ "!help_custom - Display this help message."
113
  )
114
  await ctx.send(help_text)
115