A-0.1 - Modularer Aufbau #13
@ -1,5 +1,6 @@
|
|||||||
from abc import ABC, abstractmethod
|
from abc import ABC, abstractmethod
|
||||||
|
|
||||||
|
import discord
|
||||||
from discord.ext import commands
|
from discord.ext import commands
|
||||||
|
|
||||||
|
|
||||||
@ -13,3 +14,6 @@ class BotServiceABC(ABC, commands.Bot):
|
|||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
async def stop_async(self): pass
|
async def stop_async(self): pass
|
||||||
|
|
||||||
|
@abstractmethod
|
||||||
|
async def on_message(self, message: discord.Message): pass
|
||||||
|
Reference in New Issue
Block a user