Add stdbot, to showcase plugins that work from a bot account

This commit is contained in:
Dan Elkouby 2020-08-02 14:40:18 +00:00
parent 475c3aebfd
commit 3813ed60e8
2 changed files with 19 additions and 0 deletions

1
botplugins/sed.py Symbolic link
View File

@ -0,0 +1 @@
../stdplugins/sed.py

18
stdbot.py Normal file
View File

@ -0,0 +1,18 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
import logging
from uniborg import Uniborg
logging.basicConfig(level=logging.INFO)
borg = Uniborg(
"stdbot",
plugin_path="botplugins",
admins=[12345],
connection_retries=None
)
borg.run_until_disconnected()