diff options
author | mathieui <mathieui@mathieui.net> | 2022-02-15 22:43:10 +0100 |
---|---|---|
committer | Maxime Buquet <pep@bouah.net> | 2022-03-23 15:38:00 +0100 |
commit | 6174ca70d9bc36fde9d0a0c08ccb67e874a4711c (patch) | |
tree | 45cd819c9599a75c9af2dd0739dd7d03b8ba2060 /plugins/amsg.py | |
parent | d6de6dccfa4b832a84edd394bee4f92a00069277 (diff) | |
download | poezio-6174ca70d9bc36fde9d0a0c08ccb67e874a4711c.tar.gz poezio-6174ca70d9bc36fde9d0a0c08ccb67e874a4711c.tar.bz2 poezio-6174ca70d9bc36fde9d0a0c08ccb67e874a4711c.tar.xz poezio-6174ca70d9bc36fde9d0a0c08ccb67e874a4711c.zip |
internal: make command_say async
Diffstat (limited to 'plugins/amsg.py')
-rw-r--r-- | plugins/amsg.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/amsg.py b/plugins/amsg.py index 4cd6c055..3b81085a 100644 --- a/plugins/amsg.py +++ b/plugins/amsg.py @@ -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) |