shuttle icon indicating copy to clipboard operation
shuttle copied to clipboard

[Docs]: Update and improve the Discord weather bot tutorial

Open jonaro00 opened this issue 1 year ago • 5 comments

This tutorial (source) is outdated and we also want a copy of it in shuttle-examples.

We would love if someone could:

  • Follow the tutorial to build the bot
  • Update it to Serenity 0.12 (and other crates to latest versions)
  • Make any other improvements that you think are needed
  • Update the tutorial's code snippets and instructions with any changes that were made. The screenshots can remain the same if nothing of substance changed.
  • Make a PR to shuttle-examples with the updated code in serenity/weather-forecast (a README is not needed since there is a tutorial covering it)
  • Make a PR to shuttle-docs with the updated tutorial

This issue is open to contribution. Comment if you want to work on it. Feel free to ask for help and guidance here or in our Discord.

jonaro00 avatar Feb 22 '24 16:02 jonaro00

I would like to have a go on this

Lonanche avatar Feb 26 '24 12:02 Lonanche

@Lonanche All yours! Have fun :D

jonaro00 avatar Feb 26 '24 15:02 jonaro00

@jonaro00

List of changes I made: -Updated tutorial code snippets to use Serenity 0.12 (https://github.com/shuttle-hq/shuttle-docs/pull/264) -Changed one screenshot because discord changed how to obtain discord guild ID -Submitted final code of tutorial to serenity/weather-forecast in shuttle-examples (https://github.com/shuttle-hq/shuttle-examples/pull/146) -Made some small changes in tutorial because some parts were unclear while I was following it

Let me know if any of the stuff have to be changed!

Lonanche avatar Feb 26 '24 15:02 Lonanche

@Lonanche happy you got to this. I was planning to try to do it tonight. So I'll give yours a test run and give you feedback instead.

c-git avatar Feb 27 '24 01:02 c-git

I skimmed through it and it looks good. I didn't actually try it like I planned because I want to use poise for my project as I expect it may grow and that is recommended in the tutorial. Thank you very much for updating this.

c-git avatar Feb 27 '24 01:02 c-git