From 2a22f5471101adb371aacabe409431df209be756 Mon Sep 17 00:00:00 2001 From: Fedor Lapshin Date: Sat, 17 Dec 2022 23:08:14 +0300 Subject: [PATCH] fix: typo in system channel flag constants Fix typo in names of SystemChannelFlagsSuppressGuildReminderNotifications and SystemChannelFlagsSuppressJoinNotificationReplies constants. --- structs.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/structs.go b/structs.go index 4b3cee0..e10ddf3 100644 --- a/structs.go +++ b/structs.go @@ -1063,10 +1063,10 @@ type SystemChannelFlag int // Block containing known SystemChannelFlag values const ( - SystemChannelFlagsSuppressJoinNotifications SystemChannelFlag = 1 << 0 - SystemChannelFlagsSuppressPremium SystemChannelFlag = 1 << 1 - SystemChannelFlagsSupressGuildReminderNotifications SystemChannelFlag = 1 << 2 - SystemChannelFlagsSupressJoinNotificationReplies SystemChannelFlag = 1 << 3 + SystemChannelFlagsSuppressJoinNotifications SystemChannelFlag = 1 << 0 + SystemChannelFlagsSuppressPremium SystemChannelFlag = 1 << 1 + SystemChannelFlagsSuppressGuildReminderNotifications SystemChannelFlag = 1 << 2 + SystemChannelFlagsSuppressJoinNotificationReplies SystemChannelFlag = 1 << 3 ) // IconURL returns a URL to the guild's icon.