Przeglądaj źródła

Implement redactions for guild messages.

Fixes #31
Gary Kramlich 3 lat temu
rodzic
commit
be1acdde09
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      bridge/portal.go

+ 1 - 1
bridge/portal.go

@@ -514,7 +514,7 @@ func (p *Portal) handleDiscordMessageDelete(user *User, msg *discordgo.Message)
 	if p.Type == discordgo.ChannelTypeDM {
 		intent = p.bridge.GetPuppetByID(p.DMUser).IntentFor(p)
 	} else {
-		p.log.Errorfln("no guilds yet...")
+		intent = p.MainIntent()
 	}
 
 	if existing != nil {