Merge branch '0.1' of https://git.sh-edraft.de/sh-edraft.de/sh_gismo into 0.1
This commit is contained in:
commit
a2ebf4e3b5
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
|
||||
def __init__(self): pass
|
||||
|
||||
@abstractmethod
|
||||
async def on_disconnect(self): pass
|
@ -5,3 +5,6 @@ class OnErrorABC(ABC):
|
||||
|
||||
@abstractmethod
|
||||
def __init__(self): pass
|
||||
|
||||
@abstractmethod
|
||||
async def on_error(self, event: str, *args, **kwargs): pass
|
@ -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
|
@ -5,3 +5,6 @@ class OnResumeABC(ABC):
|
||||
|
||||
@abstractmethod
|
||||
def __init__(self): pass
|
||||
|
||||
@abstractmethod
|
||||
async def on_resume(self): pass
|
@ -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
|
||||
|
Reference in New Issue
Block a user