hopefully fixed crossposting crash lol

This commit is contained in:
2024-04-04 01:31:18 +02:00
parent d952924b17
commit 1f74d4d116

View File

@@ -182,6 +182,7 @@ func messageCreate(s *discordgo.Session, m *discordgo.MessageCreate) {
_, err := s.ChannelMessageCrosspost(m.ChannelID, m.ID) _, err := s.ChannelMessageCrosspost(m.ChannelID, m.ID)
if err != nil { if err != nil {
logrus.Error(err) logrus.Error(err)
return
} }
} }
} }