Fixed extra space in %target%, closes #1483

This commit is contained in:
Master Kwoth 2017-08-11 14:02:48 +02:00
parent 6c5ea68032
commit 1552d2c892
2 changed files with 1 additions and 2 deletions

View File

@ -74,7 +74,7 @@ namespace NadekoBot.Modules.CustomReactions.Extensions
var rep = new ReplacementBuilder() var rep = new ReplacementBuilder()
.WithDefault(ctx.Author, ctx.Channel, (ctx.Channel as ITextChannel)?.Guild, client) .WithDefault(ctx.Author, ctx.Channel, (ctx.Channel as ITextChannel)?.Guild, client)
.WithOverride("%target%", () => ctx.Content.Substring(substringIndex)) .WithOverride("%target%", () => ctx.Content.Substring(substringIndex).Trim())
.Build(); .Build();
str = rep.Replace(str); str = rep.Replace(str);

View File

@ -7,7 +7,6 @@ using System.Threading.Tasks;
namespace NadekoBot.Modules.Games.Common.Connect4 namespace NadekoBot.Modules.Games.Common.Connect4
{ {
//todo: diagonal checking
public class Connect4Game : IDisposable public class Connect4Game : IDisposable
{ {
public enum Phase public enum Phase