From 323fe7010fc86b06a9e7b1a0094408dd51801293 Mon Sep 17 00:00:00 2001 From: Naman Sood Date: Tue, 28 Jun 2022 00:46:03 -0500 Subject: [PATCH] posts: typo in discord post part 2 :weary: Signed-off-by: Naman Sood --- posts/discordjs-role-perms.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/posts/discordjs-role-perms.md b/posts/discordjs-role-perms.md index 72dd9cb..34a5745 100644 --- a/posts/discordjs-role-perms.md +++ b/posts/discordjs-role-perms.md @@ -4,7 +4,7 @@ summary: Secrets that the documentation won't tell you (not sure why though). time: 1642314274 --- -**UPDATE (June 28, 2022):** Most of this article is now outdated. The Discord.js API has been updated and these steps _do not work_ any more, and they have provided a much nicer API (and one that's actually documented!) since. I don't think I'll write another article about how to fix this, but [here](https://github.com/tendstofortytwo/counter-bot/commit/5d39629082d59297418b5be23df5b90b1db16bf0) is a diff of me going from the contnts of this article to doing things "the right way". +**UPDATE (June 28, 2022):** Most of this article is now outdated. The Discord.js API has been updated and these steps _do not work_ any more, and they have provided a much nicer API (and one that's actually documented!) since. I don't think I'll write another article about how to fix this, but [here](https://github.com/tendstofortytwo/counter-bot/commit/5d39629082d59297418b5be23df5b90b1db16bf0) is a diff of me going from the contents of this article to doing things "the right way". So I was recently making a very simple [Discord bot](https://github.com/namansood/counter-bot) as a joke. Since I like JavaScript, I found a JavaScript library to help me out with this, [discord.js](https://discord.js.org), and got started.