From 6174ca70d9bc36fde9d0a0c08ccb67e874a4711c Mon Sep 17 00:00:00 2001 From: mathieui Date: Tue, 15 Feb 2022 22:43:10 +0100 Subject: internal: make command_say async --- plugins/amsg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/amsg.py') 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) -- cgit v1.2.3