Update to main

This commit is contained in:
2023-01-23 14:29:07 +02:00
parent c13c6826b0
commit d048fcef81
16 changed files with 2495 additions and 0 deletions

13
exceptions/__init__.py Normal file
View File

@ -0,0 +1,13 @@
from discord.ext import commands
class UserBlacklisted(commands.CheckFailure):
def __init__(self, message="User is blacklisted!"):
self.message = message
super().__init__(self.message)
class UserNotOwner(commands.CheckFailure):
def __init__(self, message="User is not an owner of the bot!"):
self.message = message
super().__init__(self.message)