mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-12 16:50:10 +00:00
feat: go through some TODOs
This commit is contained in:
parent
04d78e3348
commit
4450ae4214
21 changed files with 193 additions and 250 deletions
|
|
@ -6,13 +6,6 @@ namespace PluralKit.Bot;
|
|||
|
||||
public class SystemList
|
||||
{
|
||||
private readonly IDatabase _db;
|
||||
|
||||
public SystemList(IDatabase db)
|
||||
{
|
||||
_db = db;
|
||||
}
|
||||
|
||||
public async Task MemberList(Context ctx, PKSystem target)
|
||||
{
|
||||
if (target == null) throw Errors.NoSystemError;
|
||||
|
|
@ -21,7 +14,6 @@ public class SystemList
|
|||
var opts = ctx.ParseMemberListOptions(ctx.LookupContextFor(target));
|
||||
await ctx.RenderMemberList(
|
||||
ctx.LookupContextFor(target),
|
||||
_db,
|
||||
target.Id,
|
||||
GetEmbedTitle(target, opts),
|
||||
target.Color,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue