1
0
mirror of https://github.com/oliverbooth/VpSharp synced 2024-11-09 23:15:41 +00:00

[ci skip] Fix syntax in C# sample

This commit is contained in:
Oliver Booth 2022-12-06 19:52:31 +00:00
parent 434dc204d9
commit 1085e0d21e
No known key found for this signature in database
GPG Key ID: 32A00B35503AF634

View File

@ -18,7 +18,7 @@ internal static class Program
};
s_client = new VirtualParadiseClient(configuration);
var commands = s_client.UseCommands(new CommandsExtensionConfiguration {Prefixes = {"/"}});
var commands = s_client.UseCommands(new CommandsExtensionConfiguration {Prefixes = new[] {"/"}});
commands.RegisterCommands<SayCommand>();
s_client.AvatarJoined += ClientOnAvatarJoined;