Added logs

This commit is contained in:
2023-12-07 22:02:36 +03:00
parent e0972d8a2a
commit 715b6f5b7b
4 changed files with 130 additions and 2 deletions

View File

@ -24,6 +24,13 @@ type AdminTopic struct {
func (AdminTopic) Coll() string { return "admin_topics" }
type LogChannel struct {
tongo.Item `bson:",inline"`
ChatId int64 `bson:"chat_id"`
}
func (LogChannel) Coll() string { return "log_channel" }
type User struct {
tongo.Item `bson:",inline"`
UserId int64 `bson:"user_id"`