fix(aurora): fixed JSON serializing error in /edit
command
Some checks failed
Pylint / Pylint (3.11) (push) Failing after 40s
Some checks failed
Pylint / Pylint (3.11) (push) Failing after 40s
This commit is contained in:
parent
566608de24
commit
e1cc6ca1a8
3 changed files with 13 additions and 8 deletions
|
@ -25,7 +25,7 @@ from .utilities.config import config, register_config
|
|||
from .utilities.database import connect, create_guild_table, fetch_case, mysql_log
|
||||
from .utilities.embed_factory import embed_factory
|
||||
from .utilities.logger import logger
|
||||
from .utilities.utils import check_moddable, check_permissions, fetch_channel_dict, fetch_user_dict, generate_dict, log, send_evidenceformat
|
||||
from .utilities.utils import convert_timedelta_to_str, check_moddable, check_permissions, fetch_channel_dict, fetch_user_dict, generate_dict, log, send_evidenceformat
|
||||
|
||||
|
||||
class Aurora(commands.Cog):
|
||||
|
@ -898,7 +898,7 @@ class Aurora(commands.Cog):
|
|||
'timestamp': int(time.time()),
|
||||
'reason': reason,
|
||||
'user_id': interaction.user.id,
|
||||
'duration': parsed_time,
|
||||
'duration': convert_timedelta_to_str(parsed_time),
|
||||
'end_timestamp': end_timestamp
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue