Add guild name to error handling
This commit is contained in:
parent
b950bf1255
commit
13ebc33ae1
1 changed files with 2 additions and 0 deletions
|
@ -32,6 +32,7 @@ DEFAULT_SITE = "https://paste.zevs.me"
|
|||
|
||||
ERROR_MSG = """
|
||||
Command Information:
|
||||
Guild: {guild_name}
|
||||
Name: {invoked_name}
|
||||
Args:
|
||||
{arg_str}
|
||||
|
@ -129,6 +130,7 @@ class Jarvis(Snake):
|
|||
"\n".join(f" {k}: {v}" for k, v in kwargs.items()) if kwargs else " None"
|
||||
)
|
||||
full_message = ERROR_MSG.format(
|
||||
guild_name=ctx.guild.name,
|
||||
error_time=error_time,
|
||||
invoked_name=ctx.invoked_name,
|
||||
arg_str=arg_str,
|
||||
|
|
Loading…
Add table
Reference in a new issue