summaryrefslogtreecommitdiff
path: root/plugins/amsg.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/amsg.py')
-rw-r--r--plugins/amsg.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/plugins/amsg.py b/plugins/amsg.py
index eea6a0c3..b8ac4e26 100644
--- a/plugins/amsg.py
+++ b/plugins/amsg.py
@@ -19,12 +19,15 @@ Command
from poezio.plugin import BasePlugin
from poezio.tabs import MucTab
+
class Plugin(BasePlugin):
def init(self):
- self.api.add_command('amsg', self.command_amsg,
- usage='<message>',
- short='Broadcast a message',
- help='Broadcast the message to all the joined rooms.')
+ self.api.add_command(
+ 'amsg',
+ self.command_amsg,
+ usage='<message>',
+ short='Broadcast a message',
+ help='Broadcast the message to all the joined rooms.')
def command_amsg(self, args):
for room in self.core.tabs: