From 3821624c3b381c92d66753e2c3904a4fd6bbe206 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Sun, 2 Oct 2022 13:01:09 +0200 Subject: [PATCH] Removed content from on_message log in cpl-discord --- src/cpl_discord/__init__.py | 4 ++-- src/cpl_discord/application/__init__.py | 4 ++-- src/cpl_discord/command/__init__.py | 4 ++-- src/cpl_discord/configuration/__init__.py | 4 ++-- src/cpl_discord/container/__init__.py | 4 ++-- src/cpl_discord/cpl-discord.json | 2 +- src/cpl_discord/events/__init__.py | 4 ++-- src/cpl_discord/helper/__init__.py | 4 ++-- src/cpl_discord/service/__init__.py | 4 ++-- src/cpl_discord/service/discord_service.py | 4 ++-- 10 files changed, 19 insertions(+), 19 deletions(-) diff --git a/src/cpl_discord/__init__.py b/src/cpl_discord/__init__.py index e64e3790..71bb56c8 100644 --- a/src/cpl_discord/__init__.py +++ b/src/cpl_discord/__init__.py @@ -15,7 +15,7 @@ __title__ = 'cpl_discord' __author__ = 'Sven Heidemann' __license__ = 'MIT' __copyright__ = 'Copyright (c) 2021 - 2022 sh-edraft.de' -__version__ = '2022.10.0.post1' +__version__ = '2022.10.0.post2' from collections import namedtuple @@ -55,4 +55,4 @@ def get_discord_collection(services: 'ServiceCollectionABC') -> 'DiscordCollecti # build-ignore-end VersionInfo = namedtuple('VersionInfo', 'major minor micro') -version_info = VersionInfo(major='2022', minor='10', micro='0.post1') +version_info = VersionInfo(major='2022', minor='10', micro='0.post2') diff --git a/src/cpl_discord/application/__init__.py b/src/cpl_discord/application/__init__.py index fd0dd6e4..efcb28ad 100644 --- a/src/cpl_discord/application/__init__.py +++ b/src/cpl_discord/application/__init__.py @@ -15,7 +15,7 @@ __title__ = 'cpl_discord.application' __author__ = 'Sven Heidemann' __license__ = 'MIT' __copyright__ = 'Copyright (c) 2021 - 2022 sh-edraft.de' -__version__ = '2022.10.0.post1' +__version__ = '2022.10.0.post2' from collections import namedtuple @@ -24,4 +24,4 @@ from collections import namedtuple from .discord_bot_application_abc import DiscordBotApplicationABC VersionInfo = namedtuple('VersionInfo', 'major minor micro') -version_info = VersionInfo(major='2022', minor='10', micro='0.post1') +version_info = VersionInfo(major='2022', minor='10', micro='0.post2') diff --git a/src/cpl_discord/command/__init__.py b/src/cpl_discord/command/__init__.py index affdf6db..e3b5c5b0 100644 --- a/src/cpl_discord/command/__init__.py +++ b/src/cpl_discord/command/__init__.py @@ -15,7 +15,7 @@ __title__ = 'cpl_discord.command' __author__ = 'Sven Heidemann' __license__ = 'MIT' __copyright__ = 'Copyright (c) 2021 - 2022 sh-edraft.de' -__version__ = '2022.10.0.post1' +__version__ = '2022.10.0.post2' from collections import namedtuple @@ -25,4 +25,4 @@ from .discord_command_abc import DiscordCommandABC from .discord_commands_meta import DiscordCogMeta VersionInfo = namedtuple('VersionInfo', 'major minor micro') -version_info = VersionInfo(major='2022', minor='10', micro='0.post1') +version_info = VersionInfo(major='2022', minor='10', micro='0.post2') diff --git a/src/cpl_discord/configuration/__init__.py b/src/cpl_discord/configuration/__init__.py index a12d538f..9d3ae054 100644 --- a/src/cpl_discord/configuration/__init__.py +++ b/src/cpl_discord/configuration/__init__.py @@ -15,7 +15,7 @@ __title__ = 'cpl_discord.configuration' __author__ = 'Sven Heidemann' __license__ = 'MIT' __copyright__ = 'Copyright (c) 2021 - 2022 sh-edraft.de' -__version__ = '2022.10.0.post1' +__version__ = '2022.10.0.post2' from collections import namedtuple @@ -24,4 +24,4 @@ from collections import namedtuple from .discord_bot_settings import DiscordBotSettings VersionInfo = namedtuple('VersionInfo', 'major minor micro') -version_info = VersionInfo(major='2022', minor='10', micro='0.post1') +version_info = VersionInfo(major='2022', minor='10', micro='0.post2') diff --git a/src/cpl_discord/container/__init__.py b/src/cpl_discord/container/__init__.py index 00a5bd3c..5f7684f1 100644 --- a/src/cpl_discord/container/__init__.py +++ b/src/cpl_discord/container/__init__.py @@ -15,7 +15,7 @@ __title__ = 'cpl_discord.container' __author__ = 'Sven Heidemann' __license__ = 'MIT' __copyright__ = 'Copyright (c) 2021 - 2022 sh-edraft.de' -__version__ = '2022.10.0.post1' +__version__ = '2022.10.0.post2' from collections import namedtuple @@ -31,4 +31,4 @@ from .thread import Thread from .voice_channel import VoiceChannel VersionInfo = namedtuple('VersionInfo', 'major minor micro') -version_info = VersionInfo(major='2022', minor='10', micro='0.post1') +version_info = VersionInfo(major='2022', minor='10', micro='0.post2') diff --git a/src/cpl_discord/cpl-discord.json b/src/cpl_discord/cpl-discord.json index 62f8ed19..a4c3788c 100644 --- a/src/cpl_discord/cpl-discord.json +++ b/src/cpl_discord/cpl-discord.json @@ -4,7 +4,7 @@ "Version": { "Major": "2022", "Minor": "10", - "Micro": "0.post1" + "Micro": "0.post2" }, "Author": "Sven Heidemann", "AuthorEmail": "sven.heidemann@sh-edraft.de", diff --git a/src/cpl_discord/events/__init__.py b/src/cpl_discord/events/__init__.py index 38a4d75d..d07e23e1 100644 --- a/src/cpl_discord/events/__init__.py +++ b/src/cpl_discord/events/__init__.py @@ -15,7 +15,7 @@ __title__ = 'cpl_discord.events' __author__ = 'Sven Heidemann' __license__ = 'MIT' __copyright__ = 'Copyright (c) 2021 - 2022 sh-edraft.de' -__version__ = '2022.10.0.post1' +__version__ = '2022.10.0.post2' from collections import namedtuple @@ -69,4 +69,4 @@ from .on_voice_state_update_abc import OnVoiceStateUpdateABC from .on_webhooks_update_abc import OnWebhooksUpdateABC VersionInfo = namedtuple('VersionInfo', 'major minor micro') -version_info = VersionInfo(major='2022', minor='10', micro='0.post1') +version_info = VersionInfo(major='2022', minor='10', micro='0.post2') diff --git a/src/cpl_discord/helper/__init__.py b/src/cpl_discord/helper/__init__.py index e3775ff6..fb493f10 100644 --- a/src/cpl_discord/helper/__init__.py +++ b/src/cpl_discord/helper/__init__.py @@ -15,7 +15,7 @@ __title__ = 'cpl_discord.helper' __author__ = 'Sven Heidemann' __license__ = 'MIT' __copyright__ = 'Copyright (c) 2021 - 2022 sh-edraft.de' -__version__ = '2022.10.0.post1' +__version__ = '2022.10.0.post2' from collections import namedtuple @@ -24,4 +24,4 @@ from collections import namedtuple from .to_containers_converter import ToContainersConverter VersionInfo = namedtuple('VersionInfo', 'major minor micro') -version_info = VersionInfo(major='2022', minor='10', micro='0.post1') +version_info = VersionInfo(major='2022', minor='10', micro='0.post2') diff --git a/src/cpl_discord/service/__init__.py b/src/cpl_discord/service/__init__.py index 0cdb0f35..d8e7d69a 100644 --- a/src/cpl_discord/service/__init__.py +++ b/src/cpl_discord/service/__init__.py @@ -15,7 +15,7 @@ __title__ = 'cpl_discord.service' __author__ = 'Sven Heidemann' __license__ = 'MIT' __copyright__ = 'Copyright (c) 2021 - 2022 sh-edraft.de' -__version__ = '2022.10.0.post1' +__version__ = '2022.10.0.post2' from collections import namedtuple @@ -29,4 +29,4 @@ from .discord_service import DiscordService from .discord_service_abc import DiscordServiceABC VersionInfo = namedtuple('VersionInfo', 'major minor micro') -version_info = VersionInfo(major='2022', minor='10', micro='0.post1') +version_info = VersionInfo(major='2022', minor='10', micro='0.post2') diff --git a/src/cpl_discord/service/discord_service.py b/src/cpl_discord/service/discord_service.py index ef047789..70518911 100644 --- a/src/cpl_discord/service/discord_service.py +++ b/src/cpl_discord/service/discord_service.py @@ -161,12 +161,12 @@ class DiscordService(DiscordServiceABC, commands.Cog, metaclass=DiscordCogMeta): @commands.Cog.listener() async def on_message(self, message: discord.Message): - self._logger.trace(__name__, f'Received on_message:\n\t{message}\n\t{message.content}') + self._logger.trace(__name__, f'Received on_message:\n\t{message}') await self._handle_event(OnMessageABC, message) @commands.Cog.listener() async def on_message_delete(self, message: discord.Message): - self._logger.trace(__name__, f'Received on_message_delete:\n\t{message}\n\t{message.content}') + self._logger.trace(__name__, f'Received on_message_delete:\n\t{message}') await self._handle_event(OnMessageDeleteABC, message) @commands.Cog.listener()