-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Utility: Add a 'profile' parameter to the avatar command
Partially completes #9 It lets the user view a 'user' or 'server' avatar. The default is the guild avatar, then the user avatar, and lastly the default one generated by Discord. Command errors for the 'profile' parameter are thrown only if the user selects the 'server' profile and the target doesn't have a guild avatar. Also default to the 'gif' format if available for the target avatar.
- Loading branch information
Showing
1 changed file
with
36 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters