~witcher/wiredspace.de

91d02a779aa7dad6433ecc38dade6270528e8a34 — witcher 1 year, 4 months ago fa0a08e
blog: add notice on discord post
2 files changed, 25 insertions(+), 0 deletions(-)

M assets/scss/style.scss
M content/blog/discord_go_bot.md
M assets/scss/style.scss => assets/scss/style.scss +6 -0
@@ 100,3 100,9 @@ footer {
  max-width: 80ch;
  margin: auto;
}

.alert {
    padding: 1rem;
    background-color: #9B1C27;
    color: #FDAFB5;
}

M content/blog/discord_go_bot.md => content/blog/discord_go_bot.md +19 -0
@@ 5,6 5,25 @@ date = "2021-06-08"
aliases = ["/blog/post/discord_go_bot/"]
+++

<div class="alert">
    This post was written in 2021. I don't condone the use of Discord for any
    purpose whatsoever. Use open platforms that don't censor their user base at
    will.<br />
    The article remains online for archival purposes but should not be followed
    for ethical reasons.
    <br />
    <p>
        Free and open source alternatives that respect the user include, but are
        not limited to:
        <ul>
            <li><a href="https://matrix.org">Matrix</a></li>
            <li><a href="https://signal.org">Signal</a></li>
            <li>IRC</li>
            <li>XMPP</li>
        </ul>
    </p>
</div>

About a month ago I decided to get into Go a bit. It's always kind of been an interesting programming language since it's modern, simple and has quite powerful multi-threading capabilities, most of which I have yet to use. I was asked if I could program a Discord bot that would print the weekly Covid-19 incidence numbers in Germany and I thought that's a great idea, so here we are.

You can find the source code for this bot [here](https://github.com/Witcher01/discord_covid19). I thought I'd share it since I put in a bit of work recently.