Skip to content

Commit d043eea

Browse files
greutzoni
authored andcommitted
fix code example
A missing self.
1 parent 2510585 commit d043eea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/user_guide/plugin_development/dependencies.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Important to note: if you want to use a dependent plugin from within activate, y
5858
5959
def activate(self):
6060
super().activate() # <-- needs to be *before* get_plugin
61-
self.other = get_plugin('OtherPlugin1')
61+
self.other = self.get_plugin('OtherPlugin1')
6262
6363
@botcmd
6464
def hello(self, msg, args):

0 commit comments

Comments
 (0)