public WelcomeScreen ModifyWelcomeScreen(WelcomeScreenProperties properties) { return(ModifyWelcomeScreenAsync(properties).GetAwaiter().GetResult()); }
public static WelcomeScreen ModifyWelcomeScreen(this DiscordClient client, ulong guildId, WelcomeScreenProperties properties) { return(client.ModifyWelcomeScreenAsync(guildId, properties).GetAwaiter().GetResult()); }
public Task <WelcomeScreen> ModifyWelcomeScreenAsync(WelcomeScreenProperties properties) { return(Client.ModifyWelcomeScreenAsync(Id, properties)); }
public static async Task <WelcomeScreen> ModifyWelcomeScreenAsync(this DiscordClient client, ulong guildId, WelcomeScreenProperties properties) { return((await client.HttpClient.PatchAsync($"/guilds/{guildId}/welcome-screen", properties)) .Deserialize <WelcomeScreen>().SetClient(client)); }