Ontime berechnung zentralisieren #166 #172

Merged
edraft merged 5 commits from #166 into 0.3.1 2023-01-13 22:14:58 +01:00
Owner
#166
edraft added this to the Patch 0.3.1 milestone 2023-01-11 17:21:30 +01:00
edraft self-assigned this 2023-01-11 17:21:30 +01:00
edraft requested review from Ebola-Chan 2023-01-11 17:21:39 +01:00
edraft added this to the Patch 0.3.1 project 2023-01-11 17:21:41 +01:00
Ebola-Chan approved these changes 2023-01-12 01:33:55 +01:00
@ -82,2 +86,3 @@
if not result:
await self._message_service.send_ctx_msg(ctx, self._t.transform('common.errors.bot_not_ready_yet'), without_tracking=True)
await self._message_service.send_ctx_msg(ctx, self._t.transform('common.errors.bot_not_ready_yet'),
without_tracking=True)
Contributor

Hier hat PyCharm reingegretscht in der Formatierung.

await self._message_service.send_ctx_msg(ctx, self._t.transform('common.errors.bot_not_ready_yet'),
                                         without_tracking=True)
Hier hat PyCharm reingegretscht in der Formatierung. ``` await self._message_service.send_ctx_msg(ctx, self._t.transform('common.errors.bot_not_ready_yet'), without_tracking=True) ```
edraft marked this conversation as resolved
@ -171,2 +168,3 @@
else:
await self._message_service.send_interaction_msg(ctx.interaction, self._t.transform('modules.base.user.error.atr_not_found').format(atr))
await self._message_service.send_interaction_msg(ctx.interaction, self._t.transform(
'modules.base.user.error.atr_not_found').format(atr))
Contributor

Formatierung

Formatierung
edraft marked this conversation as resolved
@ -198,2 +196,3 @@
if not value.isnumeric():
await self._message_service.send_interaction_msg(ctx.interaction, self._t.transform('modules.base.user.set.error.value_type_not_numeric'))
await self._message_service.send_interaction_msg(ctx.interaction, self._t.transform(
'modules.base.user.set.error.value_type_not_numeric'))
Contributor

Formatierung

Formatierung
edraft marked this conversation as resolved
@ -205,2 +204,3 @@
self._logger.error(__name__, f'String value couldn\'t be converted to int', te)
await self._message_service.send_interaction_msg(ctx.interaction, self._t.transform('modules.base.user.set.error.type_error'))
await self._message_service.send_interaction_msg(ctx.interaction, self._t.transform(
'modules.base.user.set.error.type_error'))
Contributor

Formatierung

Formatierung
edraft marked this conversation as resolved
@ -213,2 +213,3 @@
else:
await self._message_service.send_interaction_msg(ctx.interaction, self._t.transform('modules.base.user.error.atr_not_found').format(atr))
await self._message_service.send_interaction_msg(ctx.interaction, self._t.transform(
'modules.base.user.error.atr_not_found').format(atr))
Contributor

Formatierung

Formatierung
edraft marked this conversation as resolved
@ -216,2 +217,3 @@
await self._message_service.send_interaction_msg(ctx.interaction, self._t.transform(f'modules.base.user.set.{atr.lower()}').format(member.mention, value))
await self._message_service.send_interaction_msg(ctx.interaction, self._t.transform(
f'modules.base.user.set.{atr.lower()}').format(member.mention, value))
Contributor

Formatierung

Formatierung
edraft marked this conversation as resolved
@ -247,2 +249,3 @@
else:
await self._message_service.send_interaction_msg(ctx.interaction, self._t.transform('modules.base.user.error.atr_not_found').format(atr))
await self._message_service.send_interaction_msg(ctx.interaction, self._t.transform(
'modules.base.user.error.atr_not_found').format(atr))
Contributor

Formatierung

Formatierung
edraft marked this conversation as resolved
@ -256,2 +259,3 @@
@remove.autocomplete('atr')
async def remove_autocomplete(self, interaction: discord.Interaction, current: str) -> List[app_commands.Choice[str]]:
async def remove_autocomplete(self, interaction: discord.Interaction, current: str) -> List[
app_commands.Choice[str]]:
Contributor

Formatierung

Formatierung
edraft marked this conversation as resolved
@ -87,2 +90,3 @@
@EventChecks.check_is_ready()
async def on_voice_state_update(self, member: discord.Member, before: discord.VoiceState, after: discord.VoiceState):
async def on_voice_state_update(self, member: discord.Member, before: discord.VoiceState,
after: discord.VoiceState):
Contributor

Formatierung

Formatierung
edraft marked this conversation as resolved
edraft force-pushed #166 from 27ef1a709c to b80958e3ab 2023-01-12 07:14:56 +01:00 Compare
edraft added 1 commit 2023-01-12 07:20:03 +01:00
edraft requested review from Ebola-Chan 2023-01-12 07:20:11 +01:00
edraft added 1 commit 2023-01-13 12:23:54 +01:00
Ebola-Chan approved these changes 2023-01-13 22:11:27 +01:00
edraft merged commit f9593b5f44 into 0.3.1 2023-01-13 22:14:58 +01:00
edraft deleted branch #166 2023-01-13 22:14:58 +01:00
edraft removed this from the Patch 0.3.1 milestone 2023-02-13 10:31:35 +01:00
Sign in to join this conversation.
No description provided.