Skip to content

Commit fbd67c1

Browse files
author
Pietro Albini
committed
Remove reference of deprecated decorator from the docs
The `tasks` page contained a reference of `@bot.init_shared_memory`, which was deprecated in botogram 0.2.
1 parent 3e08674 commit fbd67c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tasks.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ implement this, with a resolution of one second. Just use the
2525

2626
.. code-block:: python
2727
28-
@bot.init_shared_memory
28+
@bot.prepare_memory
2929
def init(shared):
3030
shared["subs"] = []
3131

0 commit comments

Comments
 (0)