A-0.1 - Modularer Aufbau #13
5
src/gismo/appsettings.coBIANYXra.json
Normal file
5
src/gismo/appsettings.coBIANYXra.json
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"Discord": {
|
||||||
|
"Token": "OTExNjM5NjE2MTAzMjUyMDM4.YZkUjQ.MCqPkOTIMdvMYrmt47lfrZ0inhg"
|
||||||
|
}
|
||||||
|
}
|
@ -5,3 +5,6 @@ class OnDisconnectABC(ABC):
|
|||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def __init__(self): pass
|
def __init__(self): pass
|
||||||
|
|
||||||
|
@abstractmethod
|
||||||
|
async def on_disconnect(self): pass
|
@ -5,3 +5,6 @@ class OnErrorABC(ABC):
|
|||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def __init__(self): pass
|
def __init__(self): pass
|
||||||
|
|
||||||
|
@abstractmethod
|
||||||
|
async def on_error(self, event: str, *args, **kwargs): pass
|
@ -1,7 +1,11 @@
|
|||||||
from abc import ABC, abstractmethod
|
from abc import ABC, abstractmethod
|
||||||
|
import discord
|
||||||
|
|
||||||
|
|
||||||
class OnMessageDeleteABC(ABC):
|
class OnMessageDeleteABC(ABC):
|
||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def __init__(self): pass
|
def __init__(self): pass
|
||||||
|
|
||||||
|
@abstractmethod
|
||||||
|
async def on_message_delete(self, message: discord.Message): pass
|
@ -5,3 +5,6 @@ class OnResumeABC(ABC):
|
|||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def __init__(self): pass
|
def __init__(self): pass
|
||||||
|
|
||||||
|
@abstractmethod
|
||||||
|
async def on_resume(self): pass
|
@ -5,3 +5,6 @@ class OnTypingABC(ABC):
|
|||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def __init__(self): pass
|
def __init__(self): pass
|
||||||
|
|
||||||
|
@abstractmethod
|
||||||
|
async def on_typing(self, channel: discord.abc.Messageable, user: Union[discord.User, discord.Member], when: datetime): pass
|
||||||
|
Reference in New Issue
Block a user