feat: Add message typing
This commit is contained in:
parent
e3dab3b1af
commit
acc4b02f99
2 changed files with 3 additions and 1 deletions
|
@ -8,7 +8,7 @@ import (
|
||||||
"github.com/joho/godotenv"
|
"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
|
// MuffinConfig for Muffin bot
|
||||||
type MuffinConfig struct {
|
type MuffinConfig struct {
|
||||||
|
|
|
@ -25,6 +25,8 @@ func MessageCreate(s *discordgo.Session, m *discordgo.MessageCreate) {
|
||||||
command := commands.Discommand.Aliases[content]
|
command := commands.Discommand.Aliases[content]
|
||||||
|
|
||||||
if command == "" {
|
if command == "" {
|
||||||
|
s.ChannelTyping(m.ChannelID)
|
||||||
|
|
||||||
var datas []databases.Text
|
var datas []databases.Text
|
||||||
var filter bson.D
|
var filter bson.D
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue