Skip to content

Instantly share code, notes, and snippets.

View daggy1234's full-sized avatar
🏠
OSS

Arnav Jindal daggy1234

🏠
OSS
View GitHub Profile

Overview

messages can be sent with the components key to add buttons and other components (when discord brings them out), you can edit and add new buttons via editing the message, this is useful for the disabled key to stop people from clicking it.

Example Payload

{
    "content": "this is an example message for components",
    "components": [
        {"type": 1, "components": [
 {"type": 2, "style": 2, "label": "Button 1", "custom_id": "1"},
@InterStella0
InterStella0 / HelpCommand_walkthrough_guide.md
Last active July 7, 2025 05:35
Walkthrough guide on subclassing HelpCommand
@Soheab
Soheab / API's.md
Last active July 9, 2025 15:00
See here some of the API's you can use in your discord bot or anything

Some APIs for you.

Here are some APIs you can use in your Discord bot or any other project. For any help or questions on how to use one, please contact the owner of the API and not me.

A bigger list of APIs can be found at: https://github.com/public-apis/public-apis


[TOKEN] = API requires a token to access some if not all endpoints.

Dpy Bot on a VPS

Hosting a bot on ubuntu is not that hard. For this tutorial we will be using ubuntu 20.0.4 and putty on a linux machine to host our bot.

Its a good idea to know git and basic bash before deploying your first app

Begin by connecting to your vps. You should follow the connection instructions on your VPS provider.

Find below the official (and good guides) for connecting to you machine.