DiscordBotList v0.1.0 DiscordBotList.Struct.VoteUser View Source
Module representing the type of user you get when you access the /bot/:id/vote
endpoint. This is a subset
of the DiscordBotList.Struct.User
struct.
Link to this section Summary
Types
The avatar hash of the user's avatar.
The discriminator of the user.
The id of the user.
The username of the user.
Functions
Import a value from the string map to the atom struct. This is used when they have different names.
Import from string map values to the struct where the string key of the map is same as the atom key of the struct.
Create an empty struct corresponding to the specified map and called module.
Extract the struct from the map - struct
pipeline.
Get the vote users for the bot with the specified token and id. See DiscordBotList.Struct.Bot.get_single/1
for more info arguments.
This can maximally index 1000 users. Use webhooks if you want to track for more than 1000 users.
Link to this section Types
The avatar hash of the user's avatar.
The discriminator of the user.
The id of the user.
The username of the user.
Link to this section Functions
Import a value from the string map to the atom struct. This is used when they have different names.
Import from string map values to the struct where the string key of the map is same as the atom key of the struct.
Create an empty struct corresponding to the specified map and called module.
Extract the struct from the map - struct
pipeline.
Get the vote users for the bot with the specified token and id. See DiscordBotList.Struct.Bot.get_single/1
for more info arguments.
This can maximally index 1000 users. Use webhooks if you want to track for more than 1000 users.