Skip to content

Commit

Permalink
make new types deletable
Browse files Browse the repository at this point in the history
  • Loading branch information
mlnrDev committed May 15, 2024
1 parent 81b0c27 commit eaee5bf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions discord/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,7 @@ func (t MessageType) Deleteable() bool {
case MessageTypeRecipientAdd, MessageTypeRecipientRemove, MessageTypeCall,
MessageTypeChannelNameChange, MessageTypeChannelIconChange, MessageTypeGuildDiscoveryDisqualified,
MessageTypeGuildDiscoveryRequalified, MessageTypeGuildDiscoveryGracePeriodInitialWarning,
MessageTypeGuildDiscoveryGracePeriodFinalWarning, MessageTypeThreadStarterMessage,
MessageTypeGuildIncidentAlertModeEnabled, MessageTypeGuildIncidentAlertModeDisabled,
MessageTypeGuildIncidentReportRaid, MessageTypeGuildIncidentReportFalseAlarm:
MessageTypeGuildDiscoveryGracePeriodFinalWarning, MessageTypeThreadStarterMessage:
return false

default:
Expand Down

0 comments on commit eaee5bf

Please sign in to comment.