Commit Graph

69 Commits

Author SHA1 Message Date
a. fox 2175efedfa fixed issue where posting a status without a poll threw an error
rearranged some code and broke out several things into files
retooled the cw-mapping to be more robust
cw-mappings check mapping files to see if theyve been updated before posting
2023-01-14 23:43:43 -05:00
a. fox 2a50c3bf32 version bump! 2023-01-14 00:17:15 -05:00
a. fox e2447d07ec added ability to post polls
added function to convert time into seconds
2023-01-14 00:16:25 -05:00
a. fox 48134e5fcd fixed issue where a single map file would throw an error 2023-01-13 21:11:16 -05:00
a. fox 076284f0dc updated documentation 2023-01-13 20:46:50 -05:00
a. fox f30bb0b083 implemented automatic cw generation 2023-01-13 20:39:56 -05:00
ava fox 5da7e7e4da implemented better media upload function 2021-11-04 08:36:51 -04:00
ava fox e285f35013 added the ability for bots to set media descriptions 2021-10-15 16:54:19 -04:00
ava fox 2c5e684428 updated readme 2021-03-18 10:43:47 -04:00
ava fox 6a553dea4e added make-bot function
added more options to make-instance for mastodon-bot
2021-03-18 10:38:34 -04:00
ava fox 95699e9424 updated readme 2020-11-19 10:43:32 -05:00
ava fox 7fc4a0fd33 added code to suppress style-warnings 2020-11-19 09:43:49 -05:00
ava fox cffa0de185 cleaned up on macro
inlined a few more functions
2020-11-19 09:43:16 -05:00
ava fox 4359fdcb67 hopeful fix for issue with on macro running twice in a day 2020-10-19 09:56:28 -04:00
ava fox 1f30d6a8e1 updated readme
tweaked docstring for ON
2020-09-09 14:58:53 -04:00
ava fox 2e34ce767b added on macro and supporting functions 2020-09-09 13:40:38 -04:00
jsawesome1 b91f9d3d11
Ensure *websocket-client* is closed after use (#8)
Otherwise the connection stays open if you exit run-bot from a
condition, and this causes dispatch to be called multiple times for
each message
2020-08-21 17:47:21 -04:00
ava 2bbf402b22 removed parse-integer calls again
oops :|
2020-08-16 11:48:44 -04:00
ava 4fcc1ca165 moved *bot* to bot.lisp
added docstrings for *bot* and *websocket-client*
2020-08-16 00:39:10 -04:00
ava fox 69a47ab05e all of the exported predicates are inlined 2020-08-15 00:52:30 -04:00
ava fox bd6108e0f9 add-prefix defaults to t 2020-08-15 00:43:59 -04:00
ava fox 28fe75cbd1 run-bot code expansion doesnt (when t) or (when nil) everywhere 2020-08-15 00:43:28 -04:00
Alexander Artemenko 967a11d691
Returned to string ids when calling Toot's methods. (#5)
* Returned to string ids when calling Toot's methods.

Toot started using strings instead of integers since this commit:

b4d0494063

* In newer Toot fields is a list of objects, not an alist.
2020-08-12 22:27:39 -04:00
ava 53cca8dcfe added WITH-WEBSOCKET option to run-bot
updated readme
2020-02-17 09:11:01 -05:00
ava cd8063563e removed custom code for retrieving list of followers/following 2020-02-17 09:09:42 -05:00
Violet White b97ae0c1c8
Expose bot-client (#3) 2020-02-15 20:14:08 -05:00
ava 726100ed52 added extensions to retrieve following/follower lists for accounts 2020-02-04 21:01:47 -05:00
ava fox 60452eb582 added terminate-connection function
updated package exports and readme
moved websocket-client to be a package level variable
2020-02-02 14:09:56 -05:00
ava fox fdd12052c5 version bump 2020-02-02 07:45:38 -05:00
ava fox 7f2ccbcf55 exported *command-prefix* variable 2020-02-02 07:12:24 -05:00
ava fox 2e7daa2a8b updated readme and docstrings 2020-02-02 07:07:10 -05:00
ava fox 3aacef01fa commands having prefixes is optional
updated dependencies and imports
changed how commandp checks for commands
2020-02-02 07:04:50 -05:00
ava fox a67d607ac7 changed prefix to not be hardcoded
updated readme
2020-02-02 06:54:56 -05:00
ava fox 2049ff8d64 updated run-bot to accept delete-command
updated readme
2020-02-02 03:50:19 -05:00
ava fox 9ea5530092 changed connected message closes #1 2020-02-02 03:21:21 -05:00
ava c073c6ed26 added extension to find-account to use strings instead of ints 2020-01-28 12:56:02 -05:00
ava 111f6c1ef5 bumped version number
updated readme to include a link to tooter docs
2020-01-28 03:58:22 -05:00
ava d4e4530d1d updated no-bot-p to accept a mention or string
updated reply to properly use no-bot-p checks for include-mentions key
2020-01-28 03:52:45 -05:00
ava ab662bd9c9 added an extension to find-status to convert string id to integer id 2020-01-28 03:30:33 -05:00
ava d3c33ca6a9 added docstrings to notification predicates 2020-01-28 03:17:43 -05:00
ava 3a97fc9454 added a default command so bot owners can remotely delete posts
added a predicate to check if status is from the bot
added function to delete parent post
updated package exports
2020-01-28 03:16:09 -05:00
Zac 8cf4107460 added run-immediately key to after-every
updated readme
2020-01-25 23:26:58 -05:00
Zac 5882f067a4 fixed bug in command-dispatch that crashed if command was nil 2020-01-25 17:17:44 -05:00
Zac 47378ac1d5 fixed trying to use bot instead of bot-client 2020-01-25 17:07:41 -05:00
ava e6aa1b89d1 added week duration to parse-time 2020-01-25 13:48:46 -05:00
ava 1921b7b62d changed strip-html option to default to true
updated example config with new options/comments
2020-01-25 00:23:54 -05:00
ava 8cf3c733de added option to strip the bot's username from incoming statuses 2020-01-25 00:22:15 -05:00
ava 92525a2bb4 added missing key arguments to reply 2020-01-25 00:19:08 -05:00
ava db488ff94a changed get-mastodon-streaming-url to use tooter instead of raw json 2020-01-25 00:09:32 -05:00
ava 9d41d40053 removed with-user-abort package/imports
removed error handling in run-bot macro
2020-01-25 00:09:11 -05:00