You are browsing as a guest. Sign up (or log in) to start making projects!

2h 16m 43s logged

TARFISH BOT FOR SLACK (DEVLOG 2)

so the second devlog is finally complete, and tarfish has so many cool features now!

(if you want updates on the bot, you can join #tarfish-testing in the hackclub slack!)


slash commands:
/tarfish-send can now be used by me to send messages AS the bot in any channel it’s in (it doesn’t work in threads yet, but i found a solution to that)

passive features:

  • starting a message with ?s triggers the bot’s send command, which looks for what text is send after that, and cleans up the final message by removing the ?s and sends it, THEN it also deletes the message i sent first all automatically. (this feature also works in threads)
  • the slash command and the ?s command cannot be used by people other than me
  • when i ping @ tarfish, the bot gives a different message compared to when others ping @ tarfish
  • tarfish also has a pfp now lol @fsh

code updates:

  • i realized i was having a bit of spaghetti code as i continued to add features to the bot, which i fixed by making multiple .js files and referencing them in the main index.js file, it doesn’t change anything for the bot, but it sure does make it more easier for me to add more features!
  • i have also been constantly updating the old commands like /tarfish-help as more features are being added, so don’t think they are forgotten

written by a human, not ai :3

1
53

Comments 2

@fsh

happy ping

@i

yay