Skip to content
This repository was archived by the owner on Aug 15, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/example-plugins/canary.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ def canary():
# NOTE: you must add a real channel ID for this to work
outputs.append(["D12345678", "bot started: " + str(time.time())])


canary()
2 changes: 1 addition & 1 deletion rtmbot/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
from .core import *
from .core import * # noqa: F403, F401
1 change: 1 addition & 0 deletions rtmbot/bin/run_rtmbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,6 @@ def main(args=None):
except KeyboardInterrupt:
sys.exit(0)


if __name__ == "__main__":
main()
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ basepython=python
deps=flake8
commands=
flake8 \
{toxinidir}/rtmbot.py \
{toxinidir}/rtmbot/core.py \
{toxinidir}/rtmbot \
{toxinidir}/setup.py \
{toxinidir}/docs/example-plugins