bot/event/testevent.py
2026-08-30 13:48:59 +03:00

17 lines
No EOL
333 B
Python

import config
from models.bot import send
from .__events__ import Event, Time, addEvent
class TestEvent(Event):
weekdays = [0,1,2,3,4,5,6]
time = [Time(20, 20)]
sleep = 1
@staticmethod
def execute() -> None:
...
# raise Exception()
# send(config.ADMINS[0], 'test')
addEvent(TestEvent)