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