aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Wang2022-03-01 08:46:01 -0600
committerAnthony Wang2022-03-01 08:46:01 -0600
commit3de96f721a228b5059904aca9436b43f40723029 (patch)
treefb5cbad5e9971253433509d004c52ab5ed6bb58c
parent81a13d37fba838411dbff464719e71e6559c2af6 (diff)
Add a no-op none backend for bot.py
-rw-r--r--bot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot.py b/bot.py
index 54cc31c..1c77fbc 100644
--- a/bot.py
+++ b/bot.py
@@ -5,7 +5,7 @@ from transformers import AutoTokenizer, AutoModelForCausalLM
parser = ArgumentParser()
-parser.add_argument('-b', '--backend', choices=['mastodon', 'misskey', 'matrix'], default='mastodon',
+parser.add_argument('-b', '--backend', choices=['mastodon', 'misskey', 'matrix', 'none'], default='mastodon',
help='fediverse server type')
parser.add_argument('-i', '--instance', help='Mastodon instance hosting the bot')
parser.add_argument('-t', '--token', help='Mastodon application access token')