Building a Discord bot: running Sanic from another service
At some point early in 2021, I was convinced by a few people in the Sanic community that we needed to move our primary discussion and community-building tool. We had a somewhat underutilized chat application and also the community forums, which were mainly used for longer-style support questions. Discord is a more intimate conversation than what other options could offer. When it was suggested to me that we use Discord, I was a little hesitant to add another application to my tool belt. Nevertheless, we went forward with it. If there are Discord fans out there reading this book, then you do not need me to explain to you its benefits. For everyone else, Discord is a very easy-to-use and engaging platform that really facilitates the types of discussion helpful to our corner of the internet.
As I learned more about the platform, the biggest thing that stuck out to me was that chatbots are everywhere. There is an incredible...