1
1
mirror of https://gitlab.com/ceda_ei/Quadnite-Bot synced 2026-05-06 05:40:04 +02:00

Add core structure for DeltaChat port

This commit is contained in:
2026-05-04 18:25:48 +02:00
parent 7cf9689420
commit bdd3a11cec
9 changed files with 211 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
from deltachat2 import NewMsgEvent
from quadnite_bot.command import Command, Context
class EchoCommand(Command):
command = "echo"
def process_event(self, ctx: Context, event: NewMsgEvent) -> None:
ctx.reply(event.msg.text)