Restrict openai to me
This commit is contained in:
parent
8649926899
commit
0f36c6e5eb
@ -57,6 +57,9 @@ class ActualUtils(commands.Cog):
|
||||
|
||||
@commands.command(name="openai")
|
||||
async def openai(self, ctx: commands.Context, *, query):
|
||||
if ctx.message.author.id != 144986109804412928:
|
||||
await ctx.send("Sorry, this is a paid dale-bot feature")
|
||||
return
|
||||
import questions
|
||||
|
||||
await ctx.reply(
|
||||
|
Loading…
x
Reference in New Issue
Block a user