about summary refs log tree commit diff
path: root/tooter.py
diff options
context:
space:
mode:
authorBen Harris <ben@tilde.team>2022-06-14 20:59:43 +0000
committerBen Harris <ben@tilde.team>2022-06-14 20:59:43 +0000
commit8aa6eadb396c25427894a3f32b35413749097508 (patch)
treef3c688233d05445d74dc25fe80b287727c64aa0c /tooter.py
parent8715023f5837b2783ad3da44410f415fbf855ab5 (diff)
parent2e242aea1e06571ec415530b478d240b8f4e316d (diff)
Merge pull request 'Fixes for use off of tilde.chat/tildeverse' (#2) from kindrobot/tooter:smol-fixes into master
Reviewed-on: https://tildegit.org/ben/tooter/pulls/2
Diffstat (limited to 'tooter.py')
-rw-r--r--tooter.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tooter.py b/tooter.py
index 9c16e71..f2dba55 100644
--- a/tooter.py
+++ b/tooter.py
@@ -36,6 +36,10 @@ def think(self, line):
                 res = account.toot(f"{status}\n~{author}")
                 if res:
                     return "tooted! {}".format(res["url"])
+                else:
+                    return "tooted failed :("
+            else:
+                return "no account :("
         else:
             return HELP_TEXT