Skip to content

Commit

Permalink
use port in mqtt
Browse files Browse the repository at this point in the history
  • Loading branch information
mralext20 committed Apr 20, 2024
1 parent 6f20192 commit 4488190
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alexBot/cogs/mqttDispatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async def mqttLoop(self):
try:
url = urlparse(self.bot.config.mqtt_url)
async with aiomqtt.Client(
hostname=url.hostname, username=url.username, password=url.password
hostname=url.hostname, username=url.username, password=url.password, port=url.port
) as client:
self.active_client = client
async with client.messages() as messages:
Expand Down

0 comments on commit 4488190

Please sign in to comment.