mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-12 16:50:10 +00:00
chore: dotnet format
merging like 6 PRs at once is painful :)
This commit is contained in:
parent
2f8cebc172
commit
93d94dbc2c
4 changed files with 5 additions and 5 deletions
|
|
@ -154,4 +154,4 @@ public partial class CommandTree
|
||||||
public static Command[] LogCommands = { LogChannel, LogChannelClear, LogEnable, LogDisable, LogShow };
|
public static Command[] LogCommands = { LogChannel, LogChannelClear, LogEnable, LogDisable, LogShow };
|
||||||
|
|
||||||
public static Command[] BlacklistCommands = { BlacklistAdd, BlacklistRemove, BlacklistShow };
|
public static Command[] BlacklistCommands = { BlacklistAdd, BlacklistRemove, BlacklistShow };
|
||||||
}
|
}
|
||||||
|
|
@ -339,7 +339,7 @@ public partial class CommandTree
|
||||||
else if (ctx.Match("texttospeech", "text-to-speech", "tts"))
|
else if (ctx.Match("texttospeech", "text-to-speech", "tts"))
|
||||||
await ctx.Execute<MemberEdit>(MemberTts, m => m.Tts(ctx, target));
|
await ctx.Execute<MemberEdit>(MemberTts, m => m.Tts(ctx, target));
|
||||||
else if (ctx.Match("serverkeepproxy", "servershowtags", "guildshowtags", "guildkeeptags", "serverkeeptags", "skp"))
|
else if (ctx.Match("serverkeepproxy", "servershowtags", "guildshowtags", "guildkeeptags", "serverkeeptags", "skp"))
|
||||||
await ctx.Execute<MemberEdit>(MemberServerKeepProxy, m => m.ServerKeepProxy(ctx, target));
|
await ctx.Execute<MemberEdit>(MemberServerKeepProxy, m => m.ServerKeepProxy(ctx, target));
|
||||||
else if (ctx.Match("id"))
|
else if (ctx.Match("id"))
|
||||||
await ctx.Execute<Member>(MemberId, m => m.DisplayId(ctx, target));
|
await ctx.Execute<Member>(MemberId, m => m.DisplayId(ctx, target));
|
||||||
else if (ctx.Match("privacy"))
|
else if (ctx.Match("privacy"))
|
||||||
|
|
@ -540,4 +540,4 @@ public partial class CommandTree
|
||||||
// todo: maybe add the list of configuration keys here?
|
// todo: maybe add the list of configuration keys here?
|
||||||
return ctx.Reply($"{Emojis.Error} Could not find a setting with that name. Please see `pk;commands config` for the list of possible config settings.");
|
return ctx.Reply($"{Emojis.Error} Could not find a setting with that name. Please see `pk;commands config` for the list of possible config settings.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -45,4 +45,4 @@ public class ProxyMember
|
||||||
}
|
}
|
||||||
|
|
||||||
public string? ProxyAvatar(MessageContext ctx) => ServerAvatar ?? WebhookAvatar ?? Avatar ?? ctx.SystemGuildAvatar ?? ctx.SystemAvatar;
|
public string? ProxyAvatar(MessageContext ctx) => ServerAvatar ?? WebhookAvatar ?? Avatar ?? ctx.SystemGuildAvatar ?? ctx.SystemAvatar;
|
||||||
}
|
}
|
||||||
|
|
@ -78,4 +78,4 @@ internal class DatabaseMigrator
|
||||||
// Then, migration 1 gets executed, which creates the info table and sets version to 1
|
// Then, migration 1 gets executed, which creates the info table and sets version to 1
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue