Skip to content

Instantly share code, notes, and snippets.

@AXVin
AXVin / hotreload.py
Last active March 8, 2024 16:43
Cog for reloading extensions as they are edited
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 = []