Added cpl-discord project

This commit is contained in:
2022-07-16 12:12:52 +02:00
parent 2ab1576230
commit a79358725c
11 changed files with 133 additions and 6 deletions

View File

View File

@@ -0,0 +1,16 @@
from abc import ABC, abstractmethod
import discord
from discord.ext import commands
class BotServiceABC(ABC, commands.Bot):
def __init__(self):
ABC.__init__(self)
@abstractmethod
async def start_async(self): pass
@abstractmethod
async def stop_async(self): pass