Restrict openai to me

This commit is contained in:
Luke Robles 2022-09-25 09:00:38 -07:00
parent 3c5c806908
commit 0d5070925f

View File

@ -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(