summaryrefslogtreecommitdiff
path: root/plugins/amsg.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/amsg.py')
-rw-r--r--plugins/amsg.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/amsg.py b/plugins/amsg.py
index b8ac4e26..3b81085a 100644
--- a/plugins/amsg.py
+++ b/plugins/amsg.py
@@ -1,7 +1,7 @@
"""
This plugin broadcasts a message to all your joined rooms.
-.. note:: With great power comes great responsability.
+.. note:: With great power comes great responsibility.
Use with moderation.
Command
@@ -29,7 +29,7 @@ class Plugin(BasePlugin):
short='Broadcast a message',
help='Broadcast the message to all the joined rooms.')
- def command_amsg(self, args):
+ async def command_amsg(self, args):
for room in self.core.tabs:
if isinstance(room, MucTab) and room.joined:
- room.command_say(args)
+ await room.command_say(args)