Activity

ghast9544

Hello, I just created my bot on slack api website and added all the secrets to the .env file. Init npm and git there and download dotenv package to use those variables through process.env , Now let me read some docs and start to code!!!- 3minutes
FT didnt let me post so let me start some code

Now, i got to know that i need to add some scopes before my bot can be coded so i added like chat:write and commands.

I also installed @slack/bolt module. Looks like it is the main thing and i dont need to send api requests again and again

I installed the bot in hack-club, now i got the bot token and added it in env.

Imported App class from slack lib and made a new App which i put the env variales into.

the guide said that i had to create a function and execute the server for bot to run on
and created it and hosted on port 3000.

Now I had successfully run the server but now the bot needed to connect to me so we enabled a thing called socket mode and changed a code a little bit also added a app_token with 2 scopes.

ANd now i ran the code to see what happen.

Attachment
0
ghast9544

Shipped this project!

Please install using npm install -g aaloo and run using aaloo

I linked Demo URL to github stable release as you guys said

ghast9544

Updated the package to v1.0.1 and now it links to a stable release on github. I dont want it rejected anymore.

Attachment
0
ghast9544

Maybe the last devlog of this project. I had submitted and it got rejected because they wanted a easier way to demo so i uploaded and publish my game on Npm

You can try it too using this command >> npm i -g aaloo <<
and then run aaloo
and enjoy with your potato friend

ALso i fixed the issue with readme pointing to some other project readme, no idea how that happened but yeah. Now the project is ready to be reshipped

Attachment
0
ghast9544

After a bit of hardwork (not really), I made cli to use potato and feed him and interact. Also I admit that I USED AI but only for those lines (Generated by the github copiloton the side) which are like actions and stuff. Not for the code cuz i only had to connect the modules i made.
Also i used a package to generate a readme template on which i edited and out my images and other details and DONE!

I just completed my project!!!!

Attachment
0
ghast9544

I just deleted all the frontend files. Beacuse I HATE FRONTEND. I cant make the aloo webasite. SO i plan on making him into cli. I plan on using two commands, one is aaloo, which opens the aaloo manage where we can interact with him and an aaloo display where we can see the live stats

Attachment
0
ghast9544

Just completed the core backend. NOw i think ill work on frontend. Also got a potato png form internet. CLeared its background and imported in vscode. Now i think i should make a cozy background like the flavortown has for this.

Attachment
0
ghast9544

Added ALOT of handlers like reward handler, hunger handler, energy handler, also made a time handler which gives current time and differnce between two times. I am thinking to first build the core and make the website thing or cli thing after which i will prolly use Hackatime API to reward the potato for how much hours you code

Attachment
0
ghast9544

Added foods? Any suggestions what more should i add?

Attachment
0
ghast9544

Hello again,
I am now working on adding foods for the pet potato, Any suggestions?

Attachment
0
ghast9544

I worked onto first defining what is aaloo ( for anyone who doesnt underdstand what aaloo is , it is basically potato in hindi lqnguage) so i defined that it has some stats such as hunger, mood, current activity etc and i am working on a stats handler module which could provide us stats of the aaloo. SO i think that it is going pretty well. I gotta add some more functions like update stat in the stats.js to use it in the stats.json

I think i will be changing the variables to a global path like ~/.aaloo/ so that you can use it from the terminal and it wont mess up the parts

Attachment
0