forked from sh-edraft.de/sh_discord_bot
		
	Fixed sending message with translation pipe #20
This commit is contained in:
		| @@ -10,7 +10,6 @@ from discord.ext.commands import Context | ||||
| from bot_core.abc.message_service_abc import MessageServiceABC | ||||
| from bot_core.helper.command_checks import CommandChecks | ||||
| from bot_core.logging.command_logger import CommandLogger | ||||
| from modules.base.thread.mass_move_thread import MassMoveThread | ||||
|  | ||||
|  | ||||
| class MassMoveCommand(DiscordCommandABC): | ||||
| @@ -45,6 +44,6 @@ class MassMoveCommand(DiscordCommandABC): | ||||
|         moves = [member.move_to(channel_to) for member in channel_from.members] | ||||
|         await asyncio.gather(*moves) | ||||
|  | ||||
|         await self._message_service.send_ctx_msg(ctx, self._t.transform('modules.base.mass_move.moved', channel_from.name, channel_to.name)) | ||||
|         await self._message_service.send_ctx_msg(ctx, self._t.transform('modules.base.mass_move.moved').format(channel_from.mention, channel_to.mention)) | ||||
|  | ||||
|         self._logger.trace(__name__, f'Finished mass-move command') | ||||
|   | ||||
		Reference in New Issue
	
	Block a user