Skip to content

Commit f17f20d

Browse files
committed
Removed owner_only decorator, as it's not used
1 parent 163aee6 commit f17f20d

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

core/decorators.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,3 @@ async def wrapper(self, ctx: commands.Context, *args, **kwargs):
3535
await ctx.send(embed=embed)
3636

3737
return wrapper
38-
39-
40-
def owner_only():
41-
async def predicate(ctx: commands.Context) -> bool:
42-
allowed = {int(x) for x in
43-
str(ctx.bot.config.get('owners', '0')).split(',')}
44-
return ctx.author.id in allowed
45-
46-
return commands.check(predicate)

0 commit comments

Comments
 (0)