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

Scalack

  • 2 Devlogs
  • 2 Total hours

This bot isn't slacking off, it replies to messages 24/7!

Ship #1 Changes requested

SHIPPPPPPP! This is the ship for my slack bot Scaslack , i have enable the messages to him so the testing can be done smoother. Let’s talk about how the bot works. It’s simple the bot has 5 commands
/scaslack-ping
/scaslack-help
/scaslack-catfact
/scaslack-joke
/scaslack-weather [city]
/scaslack-waifu [character]

Try project → See source code →
Open comments for this post

20m 20s logged

Devlog 2| Forgot to make a lapse anyway, today i got approved on nest so i uploaded my slack bot the problem was that for some reason the commands that the mission’s guide provided did not work for me so i ask chatgpt and it told me that i can just use this commands instead

1. Connect to the server

ssh USER@SERVER

2. Check Node.js

node –version

3. Check npm

npm –version

4. Go to the bot folder

cd ~/PROJECT_FOLDER

5. Install dependencies

npm install

6. Start the bot with PM2

pm2 start npm –name “BOT_NAME” – start

7. Check PM2

pm2 status

8. Save the PM2 process list

pm2 save

9. Configure PM2 to start automatically after a reboot

pm2 startup

10. Run the command PM2 gives you

<PM2_STARTUP_COMMAND>

11. Save again

pm2 save

I also made some changes to the code as i had forgotten to include every single of my commands to the help commands output

0
0
7
Open comments for this post

1h 12m 42s logged

Devlog 1| Today i started and finished with version 1 of my bot, i made the ReadMe and the only thing left is for me to host the bot , now i am waiting to get approved in Nest in order to host it there. I have added 2 commands that are not in the guide like one that displays the weather in your city and one that sends you a picture of an anime waifu

0
0
59

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…