diff --git a/litecord/blueprints/channels.py b/litecord/blueprints/channels.py index cff6823..76324dd 100644 --- a/litecord/blueprints/channels.py +++ b/litecord/blueprints/channels.py @@ -462,7 +462,7 @@ async def update_channel(channel_id): if is_guild: await _update_channel_common(channel_id, guild_id, j) - await update_handler(channel_id, j) + await update_handler(channel_id, j, user_id) chan = await app.storage.get_channel(channel_id) diff --git a/litecord/system_messages.py b/litecord/system_messages.py index 0c1ebfb..0f13b8e 100644 --- a/litecord/system_messages.py +++ b/litecord/system_messages.py @@ -106,7 +106,7 @@ async def _handle_gdm_name_edit(app, channel_id, author_id): """, new_id, channel_id, author_id, gdm_name, - MessageType.RECIPIENT_ADD.value + MessageType.CHANNEL_NAME_CHANGE.value ) return new_id