mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Fix compiler nullable warnings
This commit is contained in:
@@ -62,9 +62,9 @@ public class PlinkoCommand : ICommand
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
private static List<(int row, int col)> validPositions;
|
private static List<(int row, int col)> validPositions = [];
|
||||||
|
|
||||||
private static Dictionary<int, List<int>> validColumnsForRow;
|
private static Dictionary<int, List<int>> validColumnsForRow = new();
|
||||||
|
|
||||||
public async Task RunCommand(ChatBot botInstance, MessageModel message, UserDbModel user, GroupCollection arguments,
|
public async Task RunCommand(ChatBot botInstance, MessageModel message, UserDbModel user, GroupCollection arguments,
|
||||||
CancellationToken ctx)
|
CancellationToken ctx)
|
||||||
|
|||||||
Reference in New Issue
Block a user