mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
fix(bot): Show correct command for proxy case (#500)
This commit is contained in:
parent
07845edee6
commit
1960fa9dfd
1 changed files with 6 additions and 6 deletions
|
|
@ -89,8 +89,8 @@ public class Config
|
|||
));
|
||||
|
||||
items.Add(new(
|
||||
"Case sensitive proxy tags",
|
||||
"If proxy tags should be case sensitive",
|
||||
"Proxy case",
|
||||
"Whether proxy tags are case sensitive",
|
||||
EnabledDisabled(ctx.Config.CaseSensitiveProxyTags),
|
||||
"enabled"
|
||||
));
|
||||
|
|
@ -395,8 +395,8 @@ public class Config
|
|||
{
|
||||
if (!ctx.HasNext())
|
||||
{
|
||||
if (ctx.Config.CaseSensitiveProxyTags) { await ctx.Reply("Proxy tags are currently case sensitive"); }
|
||||
else { await ctx.Reply("Proxy tags are currently case insensitive"); }
|
||||
if (ctx.Config.CaseSensitiveProxyTags) { await ctx.Reply("Proxy tags are currently case **sensitive**."); }
|
||||
else { await ctx.Reply("Proxy tags are currently case **insensitive**."); }
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -404,13 +404,13 @@ public class Config
|
|||
{
|
||||
await ctx.Repository.UpdateSystemConfig(ctx.System.Id, new() { CaseSensitiveProxyTags = true });
|
||||
|
||||
await ctx.Reply("Proxy tags are now case sensitive");
|
||||
await ctx.Reply("Proxy tags are now case sensitive.");
|
||||
}
|
||||
else
|
||||
{
|
||||
await ctx.Repository.UpdateSystemConfig(ctx.System.Id, new() { CaseSensitiveProxyTags = false });
|
||||
|
||||
await ctx.Reply("Proxy tags are now case insensitive");
|
||||
await ctx.Reply("Proxy tags are now case insensitive.");
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue