Skip to content

Instantly share code, notes, and snippets.

View Madbrad200's full-sized avatar

Madbrad200

  • UK
View GitHub Profile
@comhad
comhad / _webhooks.md
Last active December 19, 2022 13:05
How to make discord bot listing webhooks without a dedicated server

Vote Webhooks

A vote webhook is a pre-defined URL that a POST request is made to containing information about a user that upvoted a bot (in JSON format) and an Authorization header. It's fired whenever a user upvotes a bot, it contains some various information about what user upvoted and some extra information like if this vote counted as double because it was the weekend, and if the user who upvoted was a site admin.

You may have issues with this soloution if you get over 500 upvotes per month, intergromat only allows so many operations to take place on a free account. Scroll down for details.

This tutorial is going to focus on discordbotlist for now, but by looking at the docs for other sites, you can find how the webhooks work (though you may need to create a second webhook on your side). This tutorial is going to use integromat to host webhooks. You can use github to make an account. (This tutorial assumes you have no experience with

@InterStella0
InterStella0 / HelpCommand_walkthrough_guide.md
Last active June 4, 2024 18:06
Walkthrough guide on subclassing HelpCommand