Add looking up group by displayname; document this
This commit is contained in:
@@ -110,6 +110,8 @@ namespace PluralKit.Bot
|
||||
return byName;
|
||||
if (await ctx.Repository.GetGroupByHid(conn, input) is {} byHid)
|
||||
return byHid;
|
||||
if (await ctx.Repository.GetGroupByDisplayName(conn, ctx.System.Id, input) is {} byDisplayName)
|
||||
return byDisplayName;
|
||||
|
||||
return null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user