Add stdbot, to showcase plugins that work from a bot account
This commit is contained in:
parent
475c3aebfd
commit
3813ed60e8
|
@ -0,0 +1 @@
|
|||
../stdplugins/sed.py
|
|
@ -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()
|
Reference in New Issue