feat: Add message typing

This commit is contained in:
Siwoo Jeon 2025-03-23 16:17:25 +09:00
parent e3dab3b1af
commit acc4b02f99
Signed by: migan
GPG key ID: 036E9A8C5E8E48DA
2 changed files with 3 additions and 1 deletions

View file

@ -8,7 +8,7 @@ import (
"github.com/joho/godotenv"
)
var MUFFIN_VERSION = "0.0.0-gopher_canary.250323a"
var MUFFIN_VERSION = "0.0.0-gopher_canary.250323b"
// MuffinConfig for Muffin bot
type MuffinConfig struct {

View file

@ -25,6 +25,8 @@ func MessageCreate(s *discordgo.Session, m *discordgo.MessageCreate) {
command := commands.Discommand.Aliases[content]
if command == "" {
s.ChannelTyping(m.ChannelID)
var datas []databases.Text
var filter bson.D