summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Okay <cbeok@protonmail.com>2020-04-12 13:47:12 -0500
committerColin Okay <cbeok@protonmail.com>2020-04-12 13:47:12 -0500
commit6922ca5e2d7d9923fb6f2f0ea46b19b70daef194 (patch)
tree985e0c73d6285425486222208a9680e71ca229d1
parent370fa3f483aae8c932fd42a5ad76c017fcf0c060 (diff)
readme
-rw-r--r--README.org33
1 files changed, 33 insertions, 0 deletions
diff --git a/README.org b/README.org
new file mode 100644
index 0000000..a68c4c0
--- /dev/null
+++ b/README.org
@@ -0,0 +1,33 @@
+
+To test:
+
+1. clone this repo and granolin into your =~/quicklisp/local-projects= directory. For example:
+
+#+BEGIN_SRC bash
+
+cd ~/quicklisp/local-projects
+git clone https://github.com/cbeo/posterbot posterbot
+git clone https://github.com/cbeo/granolin granolin
+
+#+END_SRC
+
+2. fire up lisp and load the posterbot, make a new instance, log in, and start
+
+#+BEGIN_SRC lisp
+
+(quicklisp:load :posterbot)
+
+(in-package :posterbot)
+
+(let ((bot (make-instance 'posterbot :ssl nil :user-id "mybotaccount" :homeserver "localhost:8008")))
+ (login bot "mybotaccount" "mypassword")
+ (start bot))
+
+#+END_SRC
+
+3. Invite the bot to a room, it should automatically accept your invitation.
+
+4. Post a link to an image. The link should end in one of =.gif=, =.jpg=, =.bmp=, =.jpeg=, or =.png=.
+
+
+