This commit is contained in:
Sven Heidemann 2021-11-20 16:55:43 +01:00
commit a2ebf4e3b5
6 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,5 @@
{
"Discord": {
"Token": "OTExNjM5NjE2MTAzMjUyMDM4.YZkUjQ.MCqPkOTIMdvMYrmt47lfrZ0inhg"
}
}

View File

@ -5,3 +5,6 @@ class OnDisconnectABC(ABC):
@abstractmethod
def __init__(self): pass
@abstractmethod
async def on_disconnect(self): pass

View File

@ -5,3 +5,6 @@ class OnErrorABC(ABC):
@abstractmethod
def __init__(self): pass
@abstractmethod
async def on_error(self, event: str, *args, **kwargs): pass

View File

@ -1,7 +1,11 @@
from abc import ABC, abstractmethod
import discord
class OnMessageDeleteABC(ABC):
@abstractmethod
def __init__(self): pass
@abstractmethod
async def on_message_delete(self, message: discord.Message): pass

View File

@ -5,3 +5,6 @@ class OnResumeABC(ABC):
@abstractmethod
def __init__(self): pass
@abstractmethod
async def on_resume(self): pass

View File

@ -5,3 +5,6 @@ class OnTypingABC(ABC):
@abstractmethod
def __init__(self): pass
@abstractmethod
async def on_typing(self, channel: discord.abc.Messageable, user: Union[discord.User, discord.Member], when: datetime): pass