Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions brutal/spawn/spawn_template/spawn_name/plugins/example.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def test_event_parser(event):
class TestPlugin(BotPlugin):
def setup(self, *args, **kwargs):
self.log.debug('SETUP CALLED')
self.count = 0
self.counter = 0
self.loop_task(5, self.test_loop, now=False)
self.delay_task(10, self.future_task)

Expand Down Expand Up @@ -71,8 +71,8 @@ def runlater(self, event):

@cmd
def count(self, event):
self.count += 1
return 'count {1!r} from class! got {0!r}'.format(event, self.count)
self.counter += 1
return 'count {1!r} from class! got {0!r}'.format(event, self.counter)

@cmd(thread=True)
def inlinemsg(self, event):
Expand Down