Update, new mentions, fixed captcha icons Y-pos

This commit is contained in:
2023-09-07 01:10:30 +03:00
parent 737585197e
commit e1319a951d
7 changed files with 108 additions and 70 deletions

View File

@ -10,7 +10,8 @@ type Chat struct {
tongo.Item `bson:",inline"`
ChatId int64 `bson:"chat_id"`
Title string
TopicId int64 `bson:"topic_id"`
TopicId int64 `bson:"topic_id"`
Greet string `bson:"greet"`
}
func (Chat) Coll() string { return "chats" }
@ -25,6 +26,7 @@ type User struct {
CorrectAnswer int8 `bson:"correct_answer"`
CaptchaMessage int `bson:"captcha_message"`
IsBanned bool `bson:"is_banned"`
IsJoined bool `bson:"is_joined"`
DateJoined time.Time `bson:"date_joined"`
JoinedMessage int `bson:"joined_message"`
LastNotification time.Time `bson:"last_notification"`