Update database schema and fix things

This commit is contained in:
Tulir Asokan
2022-05-27 15:58:09 +03:00
parent 8c66a064e1
commit 4c7829c304
27 changed files with 806 additions and 903 deletions

View File

@@ -527,7 +527,7 @@ func (user *User) createChannel(c *discordgo.Channel) {
portal.Type = c.Type
if portal.Type == discordgo.ChannelTypeDM {
portal.DMUser = c.Recipients[0].ID
portal.OtherUserID = c.Recipients[0].ID
}
if c.Icon != "" {