0.3 - Statistiken (#46) #102
No reviewers
Labels
No Label
MVP
web-interface
bug
bugfix
cli
discussion
documentation
duplicate
expense
high
expense
low
expense
medium
expense
very-high
help wanted
improvement
invalid
priority
blocker
priority
high
priority
low
priority
medium
question
refactoring
release
story
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sh-edraft.de/sh_discord_bot#102
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "#46"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
#46
WIP: 0.3 - Statistiken (#46)to 0.3 - Statistiken (#46)@ -35,7 +35,6 @@ class LevelSeeder(DataSeederABC):
levels = self._levels.find_levels_by_server_id(server.server_id)
if levels is None or levels.where(lambda l: l.name == level.name).first_or_default() is None:
self._levels.add_level(level)
self._logger.debug(__name__, f'Saved level {level.name}')
Ein DebugLog wurde entfernt. War dies gewollt?
@ -0,0 +84,4 @@
descriptions += f'\n{statistic.description}'
embed.add_field(name=self._t.transform('modules.stats.list.statistic'), value=statistics, inline=True)
embed.add_field(name=self._t.transform('modules.stats.list.description'), value=statistics, inline=True)
Hier wurde zwei mal
value=statistics
angegebenstatt
@ -0,0 +94,4 @@
self._logger.debug(__name__, f'Received command stats {ctx}:{name}')
if not await self._client_utils.check_if_bot_is_ready_yet_and_respond(ctx):
return
Fehlt hier nicht noch ein Permission check?
@ -0,0 +58,4 @@
self._clients
.get_clients()
.where(lambda x: x.server.server_id == server.server_id),
self._known_users.get_users(),
Ich merke hier mal an dass
self._known_users.get_users()
kein Lamdaausdruck hat wie die anderen Parametern. Sollte dies hier nicht gebraucht werden, dann dieser Thread resolved werden.KnownUsers ist ne Liste aller bekannten discord.Member