Skip to content
This repository has been archived by the owner on Mar 14, 2021. It is now read-only.

Commit

Permalink
Fixed SemVer
Browse files Browse the repository at this point in the history
  • Loading branch information
XtraCube committed Dec 19, 2020
1 parent 1c05fc5 commit 3763f88
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion AllOfUs/AllOfUs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<AllOfUsPlugin> _logger;
Expand Down
2 changes: 1 addition & 1 deletion AllOfUs/AllOfUsBot.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Impostor.Api" Version="1.2.2-ci.116" />
<PackageReference Include="Impostor.Api" Version="1.2.2-ci.123" />
</ItemGroup>

</Project>
6 changes: 3 additions & 3 deletions AllOfUs/GameEventListener.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 3763f88

Please sign in to comment.