Expected behavior
No exception should occur since the command execute under the 3 seconds theresold
Screenshots
Desktop (please complete the following information):
OS: MacOS 14 / Uubntu 22.04
Dart version 3.4.4 stable
Nyxx version
nyxx: ^6.2.1
nyxx_commands: ^6.0.2
nyxx_extensions: ^4.1.0
Additional context
Stacktrace :
[2024-07-06 10:04:53.348667] [INFO] [Nyxx] Connecting to the Gateway API
[2024-07-06 10:04:54.021023] [INFO] [Nyxx.Gateway] Connecting 1/1 shards
[2024-07-06 10:04:54.225853] [INFO] [Nyxx.Shards[0]] Connecting to Gateway
[2024-07-06 10:04:54.286923] [INFO] [Commands] Synced 3 commands to Discord
[2024-07-06 10:04:54.477115] [INFO] [Nyxx.Shards[0]] Connected to Gateway
Unhandled exception:
Null check operator used on a null value
Describe the bug When running an UserCommand or a ChatCommand an un handled exception is triggered on a null check operator used on a null value.
To Reproduce
Expected behavior No exception should occur since the command execute under the 3 seconds theresold
Screenshots
Desktop (please complete the following information):
Additional context Stacktrace :
[2024-07-06 10:04:53.348667] [INFO] [Nyxx] Connecting to the Gateway API [2024-07-06 10:04:54.021023] [INFO] [Nyxx.Gateway] Connecting 1/1 shards [2024-07-06 10:04:54.225853] [INFO] [Nyxx.Shards[0]] Connecting to Gateway [2024-07-06 10:04:54.286923] [INFO] [Commands] Synced 3 commands to Discord [2024-07-06 10:04:54.477115] [INFO] [Nyxx.Shards[0]] Connected to Gateway Unhandled exception: Null check operator used on a null value
0 MessageManager.parseMessageInteractionMetadata (package:nyxx/src/http/managers/message_manager.dart:327:45)
1 maybeParse (package:nyxx/src/utils/parsing_helpers.dart:17:15)
2 MessageManager.parse (package:nyxx/src/http/managers/message_manager.dart:84:28)
3 Gateway.parseMessageCreate (package:nyxx/src/gateway/gateway.dart:810:7)
4 Gateway.parseDispatchEvent (package:nyxx/src/gateway/gateway.dart:286:31)
5 Gateway.events. (package:nyxx/src/gateway/gateway.dart:82:27)