SleeplessOne1917/lemmy-bot

Unable to run bot due to issues with the examples

Closed this issue · 3 comments

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

image

edit: on Lemmy 0.18 and using bot version 0.4

Pdzly commented

Yeah it should be like

grafik

I'll have to check the demo code. I must not have updated it properly after the latest changes.

I updated the examples in the README. They should work now.