Small bugfixes
This commit is contained in:
parent
e9f13e4a71
commit
f6dc7743f5
3 changed files with 2 additions and 3 deletions
|
@ -44,7 +44,7 @@ jarvis = commands.Bot(
|
|||
)
|
||||
slash = SlashCommand(jarvis, sync_commands=True, sync_on_cog_reload=True)
|
||||
jarvis_self = Process()
|
||||
__version__ = "1.5.1"
|
||||
__version__ = "1.5.2"
|
||||
|
||||
|
||||
db = DBManager(get_config().mongo).mongo
|
||||
|
|
|
@ -14,7 +14,6 @@ class ErrorHandlerCog(commands.Cog):
|
|||
elif isinstance(error, commands.errors.CommandOnCooldown):
|
||||
await ctx.send(
|
||||
"Command on cooldown. Please wait before trying again",
|
||||
hidden=True,
|
||||
)
|
||||
else:
|
||||
await ctx.send(f"Error processing command:\n```{error}```")
|
||||
|
|
|
@ -257,7 +257,7 @@ class ModlogCog(commands.Cog):
|
|||
):
|
||||
modlog = Setting.get(guild=before.guild.id, setting="modlog")
|
||||
if modlog:
|
||||
channel = after.guild.get_channel(modlog["value"])
|
||||
channel = after.guild.get_channel(modlog.value)
|
||||
await asyncio.sleep(0.5) # Need to wait for audit log
|
||||
embed = None
|
||||
mute = Setting(guild=before.guild.id, setting="mute")
|
||||
|
|
Loading…
Add table
Reference in a new issue