mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
Allow non-me to use the command and default to orca-mini
This commit is contained in:
parent
97f47d8e05
commit
269ddb9218
1 changed files with 2 additions and 1 deletions
|
@ -1849,7 +1849,8 @@ class OtherCog(commands.Cog):
|
||||||
|
|
||||||
if not await self.bot.is_owner(ctx.author):
|
if not await self.bot.is_owner(ctx.author):
|
||||||
if not model.startswith("orca-mini"):
|
if not model.startswith("orca-mini"):
|
||||||
return await ctx.reply(":x: You can only use `orca-mini` models.")
|
await ctx.reply(":warning: You can only use `orca-mini` models.", delete_after=30)
|
||||||
|
model = "orca-mini:latest"
|
||||||
|
|
||||||
if query.startswith("server:"):
|
if query.startswith("server:"):
|
||||||
host, query = query.split(" ", 1)
|
host, query = query.split(" ", 1)
|
||||||
|
|
Loading…
Reference in a new issue