1
0
Fork 0
This repository has been archived on 2024-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
Administrator-py/bot_bde/check.py

11 lines
206 B
Python
Raw Normal View History

from discord.ext import commands
from bot_bde import config
class NotOwner(commands.CheckFailure):
pass
async def is_owner(ctx: commands.Context):
return ctx.author.id == config.get("admin_id")