mirror of
https://github.com/DragonMinded/bemaniutils.git
synced 2026-10-12 01:08:23 +03:00
Fix user name check for MGA in frontend
Use "for key, value in" when reading usaneko phases Lint fixes
This commit is contained in:
@@ -33,7 +33,7 @@ class Triggers:
|
||||
self.broadcast_score_discord(data, game, song)
|
||||
|
||||
def broadcast_score_discord(self, data: Dict[BroadcastConstants, str], game: GameConstants, song: Song) -> None:
|
||||
if game in [GameConstants.IIDX, GameConstants.POPN_MUSIC] :
|
||||
if game in {GameConstants.IIDX, GameConstants.POPN_MUSIC}:
|
||||
now = datetime.now()
|
||||
|
||||
webhook = DiscordWebhook(url=self.config.webhooks.discord[game])
|
||||
|
||||
Reference in New Issue
Block a user