diff options
| author | 2018-09-30 17:29:09 +0100 | |
|---|---|---|
| committer | 2018-09-30 17:29:09 +0100 | |
| commit | 10ef985a8a849a6bbfa8cbb63c2548e42ffb3957 (patch) | |
| tree | 4da29ff0462ca69820d81aa95afb4b261ab3213c /modules/ducks.py | |
| parent | received.command takes a final [command] part (diff) | |
Switch to using docstring for usage, permission and require_mode
Diffstat (limited to 'modules/ducks.py')
| -rw-r--r-- | modules/ducks.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/ducks.py b/modules/ducks.py index 84e22942..296f6430 100644 --- a/modules/ducks.py +++ b/modules/ducks.py @@ -119,7 +119,7 @@ class Module(object): @Utils.hook("received.command.decoy") def duck_decoy(self, event): """ - Prepare a decoy duck + :help: Prepare a decoy duck """ channel = event["target"] if self.is_duck_channel(channel) == False: @@ -225,7 +225,7 @@ class Module(object): @Utils.hook("received.command.bef") def befriend(self, event): """ - Befriend a duck + :help: Befriend a duck """ channel = event["target"] user = event["user"] @@ -263,7 +263,7 @@ class Module(object): @Utils.hook("received.command.bang") def shoot(self, event): """ - Shoot a duck + :help: Shoot a duck """ channel = event["target"] user = event["user"] @@ -302,7 +302,7 @@ class Module(object): @Utils.hook("received.command.duckstats") def duck_stats(self, event): """ - Show your duck stats + :help: Show your duck stats """ user = event["user"] channel = event["target"].name @@ -347,7 +347,7 @@ class Module(object): @Utils.hook("received.command.killers") def duck_enemies(self, event): """ - Show the top duck shooters + :help: Show the top duck shooters """ the_enemy = event["server"].find_all_user_channel_settings("ducks-shot") @@ -385,7 +385,7 @@ class Module(object): @Utils.hook("received.command.friends") def duck_friends(self, event): """ - Show the top duck friends + :help: Show the top duck friends """ friends = event["server"].find_all_user_channel_settings( "ducks-befriended") |
