Fixed extra space in %target%, closes #1483
This commit is contained in:
parent
6c5ea68032
commit
1552d2c892
@ -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);
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user