Merge emoji and discord_file tables
Also fix duplicate reaction when reacting with custom emoji from Matrix
This commit is contained in:
@@ -21,7 +21,6 @@ type Database struct {
|
||||
Message *MessageQuery
|
||||
Thread *ThreadQuery
|
||||
Reaction *ReactionQuery
|
||||
Emoji *EmojiQuery
|
||||
Guild *GuildQuery
|
||||
Role *RoleQuery
|
||||
File *FileQuery
|
||||
@@ -54,10 +53,6 @@ func New(baseDB *dbutil.Database, log maulogger.Logger) *Database {
|
||||
db: db,
|
||||
log: log.Sub("Reaction"),
|
||||
}
|
||||
db.Emoji = &EmojiQuery{
|
||||
db: db,
|
||||
log: log.Sub("Emoji"),
|
||||
}
|
||||
db.Guild = &GuildQuery{
|
||||
db: db,
|
||||
log: log.Sub("Guild"),
|
||||
|
||||
Reference in New Issue
Block a user