Updated daemon info in README
parent
593fe189cd
commit
6f2d9d1dde
|
@ -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):
|
||||||
|
|
Reference in New Issue