From 0d5070925ff8b923a358facedc05815d89ac13c4 Mon Sep 17 00:00:00 2001 From: Luke Robles 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(