Skip to content

Commit

Permalink
Remove obsolete example
Browse files Browse the repository at this point in the history
  • Loading branch information
zobweyt committed Aug 29, 2023
1 parent e51ef51 commit d4b491c
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/Discord.Net.Examples/Core/Entities/Users/IUser.Examples.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,6 @@ namespace Discord.Net.Examples.Core.Entities.Users
[PublicAPI]
internal class UserExamples
{
#region GetAvatarUrl

public async Task GetAvatarAsync(IUser user, ITextChannel textChannel)
{
var userAvatarUrl = user.GetAvatarUrl() ?? user.GetDefaultAvatarUrl();
await textChannel.SendMessageAsync(userAvatarUrl);
}

#endregion

#region CreateDMChannelAsync

public async Task MessageUserAsync(IUser user)
Expand Down

0 comments on commit d4b491c

Please sign in to comment.