Unable to run bot due to issues with the examples
Closed this issue · 3 comments
Hellhound1 commented
Hi, wondering if you could help with where I'm going wrong.
I'm using the like me bot example, and getting the error "Expected 1 arguments, but got 2. (ts2554) on the Vote.Upvote lines and the same error on the SendPrivateMessage lines where the text is flagging the same error.
I'm really new to this so most likely an error with my setup but google has been no help in figuring this out.
Thanks
edit: on Lemmy 0.18 and using bot version 0.4
Pdzly commented
SleeplessOne1917 commented
I'll have to check the demo code. I must not have updated it properly after the latest changes.
SleeplessOne1917 commented
I updated the examples in the README. They should work now.