Skip to content

fabyanMikhael/DiscordBot-HotReload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

DiscordBot-HotReload

A simple script that loads and hot-reloads cogs when you save any changes

Usage

@bot.event
async def on_ready():
    from HotReloadModules import HotLoad
    await HotLoad(bot)

simply import and run the HotLoad function, passing in the bot instance.
It will load any cogs in the ./cogs folder and watch any changes.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages