package
0.0.0-20241221063656-87887cf51946
Repository: https://github.com/lrstanley/spectrograph.git
Documentation: pkg.go.dev
# Functions
FetchUser fetches the current discord user that is authenticated with the token, as well as any guilds that are a part of.
GenerateGuildIconURL generates a discord server icon url from an icon hash.
GenerateUserAvatarURL parses out the discord avatar.
UserHasAdmin checks if a user has the administrator permission in a guild.
# Constants
user id, avatar id, extension.
user-discriminator modulo 5 (Test#1337 % 5 == 2).
https://discord.com/developers/docs/reference#image-formatting-cdn-endpoints.
No description provided by the author
guild id, icon id, extension.
No description provided by the author