Word Chain

Word Chain Used AI

14 devlogs
12h 11m
•  Ship certified

A fun and competitive word game on Slack at #word-chain

Timeline

Ship 2

1 payout of shell 49.0 shells

Tharakesh Rajesh

about 2 months ago

Tharakesh Rajesh Covers 8 devlogs and 3h 28m

I finished setting up on Nest without errors. It took a while to fix the errors which I have NO idea why they were happening. It gave no debug. All it said was that it failed to start. I eventually just made a wrapper and rage quit. I hate systemd. But the bot now FULLY works with more reliability to recover some data after crashes or restarts.

Update attachment

And it is fixed. The word chain bot now fully works to restore progress before the bot crashes. It doesn't bring used words or last person because used words would take up too much storage and I'm too lazy to add last person. I was only supposed to spend one hour but spent like 3, so fun. This is the average programming experience.

Update attachment

I fixed most errors that caused the bot to not even respond but now it works. So yay. Now I just need to make sure that it actually does what it is supposed to when crashing.

Update attachment

I'm trying to fix my errors but they just keep on stacking. As soon as I fix one, another appears. Some of them are just typos though. And nest crashed too so now I have to configure cloudflare tunnels to my computer which will take like an hour. Yay! So much fun when developing!

Update attachment
Earned sticker

I removed channelId_ACTIVE thingy because I realized it was redundant when I can just check if the other variables already exist meaning the game is active. I also decided to resume games if the /startgame command is used too. It removes a function making it cleaner.

Update attachment

I think the error I am getting is because of the empty string in the table being returned so I can try removing it to see if that fixes or not. Hopefully it does.

Update attachment

I tried deploying to nest but it did not work. I will debug tomorrow. I also fixed many other bugs as well. Reminder to add channelId_ACTIVE tomorrow. Hopefully I will see this reminder.

Update attachment
Earned sticker

I added a saver so that if the bot crashes or goes offline then it saves and uses that the next time it is online. I am going to pray this works.

Update attachment

Ship 1

1 payout of shell 144.0 shells

Tharakesh Rajesh

3 months ago

Tharakesh Rajesh Covers 6 devlogs and 8h 43m

I added a channel debugging feature so that people self hosting the bot don't need to SSH or open their terminal to see what went wrong. Also fixed the other start game bug. Still need to make it more competitive though, maybe later.

Update attachment

Finished v1.1
This version fixed MANY bugs like the bot randomly crashing because it tries to reply in a channel it isn't in, and other stuff I can't remember.
But I also cleaned up the scripts a lot and added some other files to help with self-hosting.
Also added some more commands to help with developing and setting up the bot.

Update attachment

I finally finished the passive version of the not. V1 is now done. Added ton more things.

Update attachment

Renovated the basics and now it should be better. I have to use another port separately just for slash commands because slack bolt's message function thingy didn't work so I have been using express to receive event subscriptions. So since I had another port, that meant I needed to expose it again and you can't really use two cloudflare tunnels on the same host to I decided to not be lazy and get ngrok and it is way faster, but only one agent at a time. Also I am planning on making this game a competitive one, not passive.

TL;DR
* Added some slash commands
* Can't use the same word again
* Some other things I probably can't remember

Update attachment

I finally got the basics of the bot to work and it now checks if the first letter of the new word matches the last letter of the old one and actually is an English word in the dictionary. Also got it to use reactions.

Update attachment

I spent way too much time getting this bot to work but I made a ping slash command which replies with pong and when you mention the bot it gets mad. I had to set up a cloudflare tunnel and find a workaround to some bolt commands but got it to work somewhat in the end.

Update attachment