Updated daemon info in README

develop
Jef Roosens 2020-08-31 22:48:14 +02:00
parent 593fe189cd
commit 6f2d9d1dde
1 changed files with 4 additions and 4 deletions

View File

@ -53,11 +53,11 @@ Frank.
# do some stuff # do some stuff
pass pass
@frank.daemon() # Interval defines how many seconds are between each call
@frank.daemon(interval=5)
async def some_daemon(self): async def some_daemon(self):
while True: # do some stuff
# do some stuff pass
pass
@frank.default() @frank.default()
async def default_cmd(self, author, channel, mid): async def default_cmd(self, author, channel, mid):