mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 19:28:54 -05:00
[V3] Fix logic issue with [p]load (#1460)
This commit is contained in:
parent
772590c41c
commit
d79d8fbbea
@ -342,9 +342,7 @@ class Core:
|
||||
#await ctx.send(_("No module named '{}' was found in any"
|
||||
# " cog path.").format(c))
|
||||
|
||||
if len(cogspecs) == 0:
|
||||
return
|
||||
|
||||
if len(cogspecs) > 0:
|
||||
for spec, name in cogspecs:
|
||||
try:
|
||||
await ctx.bot.load_extension(spec)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user