mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
feat(dashboard): add opengraph/oembed, Docker build
This commit is contained in:
parent
d956bd4577
commit
15d48db6f3
12 changed files with 253 additions and 1 deletions
|
|
@ -25,6 +25,18 @@ public static class APIJsonExt
|
|||
|
||||
return o;
|
||||
}
|
||||
|
||||
public static JObject EmbedJson(string title, string type)
|
||||
{
|
||||
var o = new JObject();
|
||||
|
||||
o.Add("type", "rich");
|
||||
o.Add("provider_name", "PluralKit " + type);
|
||||
o.Add("provider_url", "https://pluralkit.me");
|
||||
o.Add("title", title);
|
||||
|
||||
return o;
|
||||
}
|
||||
}
|
||||
|
||||
public struct FrontersReturnNew
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue