class NotePlugin (Builtin):
def __init__(self):
super(NotePlugin, self).__init__(name='note')
-
- def commands(self):
- return [AddNoteCommand(), ClearNoteCommand(), GetNoteCommand()]
-
- def dependencies(self):
- return [
- 'playlist', # for current_playlist_callback
- ]
+ self._commands = [
+ AddNoteCommand(), ClearNoteCommand(), GetNoteCommand()]
+ self._setup_commands()
class AddNoteCommand (Command):