fixed cogs not loading i accidentally fucked it
This commit is contained in:
parent
d7ea68a2b0
commit
58e63a9e35
2 changed files with 4 additions and 1 deletions
3
bot.py
3
bot.py
|
@ -124,6 +124,7 @@ async def on_ready():
|
|||
print(f"{GREEN}{get_translation(LOCALE, 'folder_created').format(folder_name=folder_name)}{RESET}")
|
||||
else:
|
||||
print(f"{DEBUG}{get_translation(LOCALE, 'folder_exists').format(folder_name=folder_name)}{RESET}")
|
||||
await load_cogs_from_folder(bot)
|
||||
try:
|
||||
synced = await bot.tree.sync()
|
||||
print(f"{GREEN}{get_translation(LOCALE, 'synced_commands')} {len(synced)} {get_translation(LOCALE, 'synced_commands2')} {RESET}")
|
||||
|
@ -169,6 +170,8 @@ async def on_command_error(ctx, error):
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
# Command: Retrain the Markov model from memory
|
||||
@bot.hybrid_command(description=f"{get_translation(LOCALE, 'command_desc_retrain')}")
|
||||
async def retrain(ctx):
|
||||
|
|
|
@ -40,5 +40,5 @@ song = os.getenv("song")
|
|||
arch = platform.machine()
|
||||
slash_commands_enabled = False
|
||||
latest_version = "0.0.0"
|
||||
local_version = "0.15.4"
|
||||
local_version = "0.15.5"
|
||||
os.environ['gooberlocal_version'] = local_version
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue