diff --git a/danding_bot/plugins/group_horse_racing/test_commands.py b/danding_bot/plugins/group_horse_racing/test_commands.py index bf59640..eb296c7 100644 --- a/danding_bot/plugins/group_horse_racing/test_commands.py +++ b/danding_bot/plugins/group_horse_racing/test_commands.py @@ -11,6 +11,8 @@ config = Config() async def check_tester(event: Event) -> bool: """Check if user is a tester.""" + if not config.TEST_MODE: + return False return event.user_id in config.TESTERS