Updated daemon info in README
parent
593fe189cd
commit
6f2d9d1dde
|
@ -53,11 +53,11 @@ Frank.
|
|||
# do some stuff
|
||||
pass
|
||||
|
||||
@frank.daemon()
|
||||
# Interval defines how many seconds are between each call
|
||||
@frank.daemon(interval=5)
|
||||
async def some_daemon(self):
|
||||
while True:
|
||||
# do some stuff
|
||||
pass
|
||||
# do some stuff
|
||||
pass
|
||||
|
||||
@frank.default()
|
||||
async def default_cmd(self, author, channel, mid):
|
||||
|
|
Reference in New Issue