This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import pathlib | |
import discord | |
from discord.ext import commands, tasks | |
# put your extension names in this list | |
# if you don't want them to be reloaded | |
IGNORE_EXTENSIONS = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from enum import Enum | |
import discord | |
from discord.ext import commands | |
BASE_URL = "https://discord.com/api/v8" | |
class InteractionResponseType(Enum): | |
pong = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import secrets | |
import asyncio | |
import aioredis | |
NONCE_BYTES = 8 | |
class IPC: |