From 3763f884e00db3f1f9ff4cad5166bd6ab7d24326 Mon Sep 17 00:00:00 2001 From: XtraCube Date: Sat, 19 Dec 2020 09:18:50 -0500 Subject: [PATCH] Fixed SemVer --- AllOfUs/AllOfUs.cs | 2 +- AllOfUs/AllOfUsBot.csproj | 2 +- AllOfUs/GameEventListener.cs | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/AllOfUs/AllOfUs.cs b/AllOfUs/AllOfUs.cs index 26d85a1..cf08b7d 100644 --- a/AllOfUs/AllOfUs.cs +++ b/AllOfUs/AllOfUs.cs @@ -10,7 +10,7 @@ namespace XtraCube.Plugins.AllofUs package: "gg.xtracube.allofus", name: "AllOfUsBot", author: "XtraCube", - version: "2.0.0")] + version: "2.1.0")] public class AllOfUsPlugin : PluginBase { private readonly ILogger _logger; diff --git a/AllOfUs/AllOfUsBot.csproj b/AllOfUs/AllOfUsBot.csproj index 194ae71..76dbb9a 100644 --- a/AllOfUs/AllOfUsBot.csproj +++ b/AllOfUs/AllOfUsBot.csproj @@ -5,7 +5,7 @@ - + diff --git a/AllOfUs/GameEventListener.cs b/AllOfUs/GameEventListener.cs index cc69c9d..d5ff881 100644 --- a/AllOfUs/GameEventListener.cs +++ b/AllOfUs/GameEventListener.cs @@ -133,7 +133,7 @@ public async void OnPlayerChat(IPlayerChatEvent e) } else if (args.Length == 1) { - await SendMessage(e.PlayerControl, "/name {{name}}\n Change your name!"); + await SendMessage(e.PlayerControl, "/name {name}\n Change your name!"); } break; @@ -150,7 +150,7 @@ public async void OnPlayerChat(IPlayerChatEvent e) if ((e.Game.Options.MaxPlayers / limit) > 2f) { e.Game.Options.NumImpostors = (byte)limit; - await SendMessage(e.PlayerControl, "Impostor limit has been set to {args[1]}!"); + await SendMessage(e.PlayerControl, $"Impostor limit has been set to {args[1]}!"); await e.Game.SyncSettingsAsync(); } else @@ -170,7 +170,7 @@ public async void OnPlayerChat(IPlayerChatEvent e) } if (args.Length == 1) { - await SendMessage(e.PlayerControl, "/implimit {{amount}}\nSet the maximum impostor count. Max is 63, minimum is 1"); + await SendMessage(e.PlayerControl, "/implimit {amount}\nSet the maximum impostor count. Max is 63, minimum is 1"); } } else