diff --git a/xmpp_discord_bridge/main.py b/xmpp_discord_bridge/main.py index 37744e8..dd589be 100644 --- a/xmpp_discord_bridge/main.py +++ b/xmpp_discord_bridge/main.py @@ -200,8 +200,8 @@ class BridgeComponent(ComponentXMPP): webhook_url = webhook.url break if not webhook_url: - webhook = dchannel.create_webhook(name="discord-xmpp-bridge", - reason="Bridging Discord and XMPP") + webhook = await dchannel.create_webhook(name="discord-xmpp-bridge", + reason="Bridging Discord and XMPP") webhook_url = webhook.url self._webhooks[muc] = webhook_url