mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-08 14:57:54 +00:00
Migrate guild objects to the patch system
This commit is contained in:
parent
467ce78522
commit
0598c53f62
11 changed files with 124 additions and 62 deletions
|
|
@ -50,7 +50,7 @@ namespace PluralKit.Core
|
|||
else _updateFragment.Append(", ");
|
||||
|
||||
_updateFragment.Append(fieldName);
|
||||
_updateFragment.Append("=");
|
||||
_updateFragment.Append(" = ");
|
||||
_updateFragment.Append(paramName);
|
||||
return this;
|
||||
}
|
||||
|
|
@ -71,7 +71,7 @@ namespace PluralKit.Core
|
|||
if (Type == QueryType.Update && _condition != null)
|
||||
query.Append($" where {_condition}");
|
||||
|
||||
if (suffix != null)
|
||||
if (!string.IsNullOrEmpty(suffix))
|
||||
query.Append($" {suffix}");
|
||||
query.Append(";");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue