Remove duplicate command registration

This commit is contained in:
Cohee 2024-05-17 15:04:53 +03:00
parent 75de4c8fcb
commit 748dd5f2e6

View File

@ -8636,11 +8636,6 @@ jQuery(async function () {
callback: doCloseChat,
helpString: 'Closes the current chat.',
}));
SlashCommandParser.addCommandObject(SlashCommand.fromProps({
name: 'closechat',
callback: doCloseChat,
helpString: 'Closes the current chat.',
}));
SlashCommandParser.addCommandObject(SlashCommand.fromProps({ name: 'panels',
callback: doTogglePanels,
aliases: ['togglepanels'],