From 0f36c6e5eb9933ca6a92d37ed83a6076937222f7 Mon Sep 17 00:00:00 2001 From: Luke Robles <98352913+lrobles-iterable@users.noreply.github.com> Date: Sun, 25 Sep 2022 09:00:38 -0700 Subject: [PATCH] Restrict openai to me --- app/cogs/actual_utils.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/cogs/actual_utils.py b/app/cogs/actual_utils.py index ab792f71..f36388e9 100644 --- a/app/cogs/actual_utils.py +++ b/app/cogs/actual_utils.py @@ -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(