feat(rpc): animated dantotsu icon
This commit is contained in:
parent
545abf1f9a
commit
cddad8edf1
2 changed files with 2 additions and 10 deletions
|
@ -70,7 +70,7 @@ object Discord {
|
|||
|
||||
const val application_Id = "1163925779692912771"
|
||||
const val small_Image: String =
|
||||
"mp:external/GJEe4hKzr8w56IW6ZKQz43HFVEo8pOtA_C-dJiWwxKo/https/cdn.discordapp.com/app-icons/1163925779692912771/f6b42d41dfdf0b56fcc79d4a12d2ac66.png"
|
||||
"mp:external/9NqpMxXs4ZNQtMG42L7hqINW92GqqDxgxS9Oh0Sp880/%3Fsize%3D48%26quality%3Dlossless%26name%3DDantotsu/https/cdn.discordapp.com/emojis/1167344924874784828.gif"
|
||||
const val small_Image_AniList: String =
|
||||
"mp:external/ORoccmSwMX55y1BUmiwf7OH9IlnztoO0MDpsGQnibpw/https/anilist.co/img/icons/icon.svg"
|
||||
}
|
|
@ -18,18 +18,10 @@ object Kitsu {
|
|||
val headers = mapOf(
|
||||
"Content-Type" to "application/json",
|
||||
"Accept" to "application/json",
|
||||
"Accept-Encoding" to "gzip, deflate",
|
||||
"Accept-Language" to "en-US,en;q=0.5",
|
||||
"Host" to "kitsu.app",
|
||||
"Connection" to "keep-alive",
|
||||
"Origin" to "https://kitsu.app",
|
||||
"Sec-Fetch-Dest" to "empty",
|
||||
"Sec-Fetch-Mode" to "cors",
|
||||
"Sec-Fetch-Site" to "cross-site",
|
||||
)
|
||||
val response = tryWithSuspend {
|
||||
val res = client.post(
|
||||
"https://kitsu.app/api/graphql",
|
||||
"https://kitsu.io/api/graphql",
|
||||
headers,
|
||||
data = mapOf("query" to query)
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue