Real-Dev-Squad / discord-slash-commands

MIT License
5 stars 53 forks source link

Register the commands and deploy the code on CFW #16

Closed RitikJaiswal75 closed 1 year ago

RitikJaiswal75 commented 1 year ago

Discord provides us with an endpoint to register all our commands to our bots. The register.ts file runs on our pipeline and hist that endpoint with all the commands that we want to register.

Created a few files to register all the commands given in commands.ts to the bot.

Added a pipeline to deploy code to register the commands and deploy code to the Cloudflare workers for the staging environment.

For this pipeline to work we must set up the environment variables in the GitHub environment.

RitikJaiswal75 commented 1 year ago

Everything looks good @RitikJaiswal75 , added a comment. I believe all the tokens are added and github actions are proof tested. Good work

Yes Harshith, I reviewed them over a POC

I am still waiting for the variables to be added to the GitHub environment by @prakashchoudhary07

prakashchoudhary07 commented 1 year ago

Everything looks good @RitikJaiswal75 , added a comment. I believe all the tokens are added and github actions are proof tested. Good work

Yes Harshith, I reviewed them over a POC

I am still waiting for the variables to be added to the GitHub environment by @prakashchoudhary07

Have added the env secrets