This commit is contained in:
Sid bot on xmpp 2021-11-11 15:23:09 +01:00
parent 1261cce85e
commit c986ea9bca
1 changed files with 3 additions and 3 deletions

View File

@ -5,15 +5,15 @@ import Feeds_gemgraph
JID = 'sid@a-lec.org' JID = 'sid@a-lec.org'
ROOM = 'awagij@salons.a-lec.org' ROOM = 'awagij@salons.a-lec.org'
NICK = 'sid-bot' NICK = 'sid'
PASS = '' PASS = 'botvote'
# Instanciate the bot # Instanciate the bot
xmpp = MUCBot(JID, PASS, ROOM, NICK) xmpp = MUCBot(JID, PASS, ROOM, NICK)
# Register a plugin # Register a plugin
xmpp.register_bot_plugin(Ping) xmpp.register_bot_plugin(Ping)
xmpp.register_bot_plugin(Feeds_emooji.Feeds) xmpp.register_bot_plugin(Feeds_gemgraph.Feeds)
# Connect to the XMPP server and start processing XMPP stanzas. # Connect to the XMPP server and start processing XMPP stanzas.
try: try: