Fix link to name_generator contrib

This commit is contained in:
Griatch 2022-09-17 19:41:48 +02:00
parent cdc1b83331
commit a4eff902cc
5 changed files with 41 additions and 3 deletions

View file

@ -246,15 +246,14 @@ def schedule(
day (int or None): Number of absolute days.
month (int or None): Number of absolute months.
year (int or None): Number of absolute years.
*args, **kwargs: Will be passed into the callable. These must be possible
to store in Attributes on the generated scheduling Script.
*args: Passed into the callable. Must be possible to store in Attribute.
**kwargs: Passed into the callable. Must be possible to store in Attribute.
Returns:
Script: The created Script handling the scheduling.
Examples:
::
schedule(func, min=5, sec=0) # Will call 5 minutes past the next (in-game) hour.
schedule(func, hour=2, min=30, sec=0) # Will call the next (in-game) day at 02:30.