Added on_message event

This commit is contained in:
2021-11-16 21:01:16 +01:00
parent 9584b34f8f
commit 12492cf596
3 changed files with 28 additions and 11 deletions

View File

@@ -1,5 +1,6 @@
from abc import ABC, abstractmethod
from codecs import register
import discord
class ModuleServiceABC(ABC):
@@ -9,3 +10,6 @@ class ModuleServiceABC(ABC):
@abstractmethod
async def on_ready(self): pass
@abstractmethod
async def on_message(self, message: discord.Message): pass