GuildWidgetStyle enum
Widget Style options
https://discord.com/developers/docs/resources/guild#get-guild-widget-image-widget-style-options
Constructors
- GuildWidgetStyle()
-
const
Values
- shield → const GuildWidgetStyle
-
shield style widget with Discord icon and guild members online count
Example: https://discord.com/api/guilds/81384788765712384/widget.png?style=shield
-
large image with guild icon, name and online count. "POWERED BY DISCORD" as the footer of the widget
Example: https://discord.com/api/guilds/81384788765712384/widget.png?style=banner1
-
smaller widget style with guild icon, name and online count. Split on the right with Discord logo
Example: https://discord.com/api/guilds/81384788765712384/widget.png?style=banner2
-
large image with guild icon, name and online count. In the footer, Discord logo on the left and "Chat Now" on the right
Example: https://discord.com/api/guilds/81384788765712384/widget.png?style=banner3
-
large Discord logo at the top of the widget. Guild icon, name and online count in the middle portion of the widget and a "JOIN MY SERVER" button at the bottom
Example: https://discord.com/api/guilds/81384788765712384/widget.png?style=banner4
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
GuildWidgetStyle> - A constant List of the values in this enum, in order of their declaration.