mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-12 16:50:10 +00:00
chore: clean up compile warnings
This commit is contained in:
parent
16ce67e02c
commit
89d6481ddb
16 changed files with 37 additions and 32 deletions
|
|
@ -159,7 +159,7 @@ public class DiscordApiClient
|
|||
public Task<Channel> CreateDm(ulong recipientId) =>
|
||||
_client.Post<Channel>("/users/@me/channels", ("CreateDM", default), new CreateDmRequest(recipientId))!;
|
||||
|
||||
public Task<RefreshedUrlsResponse> RefreshUrls(string[] urls) =>
|
||||
public Task<RefreshedUrlsResponse?> RefreshUrls(string[] urls) =>
|
||||
_client.Post<RefreshedUrlsResponse>("/attachments/refresh-urls", ("RefreshUrls", default), new RefreshUrlsRequest(urls));
|
||||
|
||||
private static string EncodeEmoji(Emoji emoji) =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue