Class GuildExtensions
- Namespace
- Discord
- Assembly
- Discord.Net.Core.dll
An extension class for IGuild.
public static class GuildExtensions
- Inheritance
-
GuildExtensions
- Inherited Members
Methods
GetGuildBoostMessagesEnabled(IGuild)
Gets if guild boost system messages are enabled.
public static bool GetGuildBoostMessagesEnabled(this IGuild guild)
Parameters
guild
IGuildThe guild to check.
Returns
- bool
A
bool
indicating if the guild boost messages are enabled in the system channel.
GetGuildSetupTipMessagesEnabled(IGuild)
Gets if guild setup system messages are enabled.
public static bool GetGuildSetupTipMessagesEnabled(this IGuild guild)
Parameters
guild
IGuildThe guild to check.
Returns
- bool
A
bool
indicating if the guild setup messages are enabled in the system channel.
GetGuildWelcomeMessageReplyEnabled(IGuild)
Gets if guild welcome messages have a reply with sticker button.
public static bool GetGuildWelcomeMessageReplyEnabled(this IGuild guild)
Parameters
guild
IGuildThe guild to check.
Returns
- bool
A
bool
indicating if the guild welcome messages have a reply with sticker button.
GetWelcomeMessagesEnabled(IGuild)
Gets if welcome system messages are enabled.
public static bool GetWelcomeMessagesEnabled(this IGuild guild)
Parameters
guild
IGuildThe guild to check.
Returns
- bool
A
bool
indicating if the welcome messages are enabled in the system channel.