|
|
|
@ -1,10 +1,11 @@
|
|
|
|
package disgoman
|
|
|
|
package disgoman
|
|
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
import (
|
|
|
|
"github.com/bwmarrin/discordgo"
|
|
|
|
|
|
|
|
"log"
|
|
|
|
"log"
|
|
|
|
"math/rand"
|
|
|
|
"math/rand"
|
|
|
|
"time"
|
|
|
|
"time"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
"github.com/bwmarrin/discordgo"
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
/* status-manager.go:
|
|
|
|
/* status-manager.go:
|
|
|
|
@ -42,6 +43,7 @@ func (s *StatusManager) UpdateStatus(session *discordgo.Session) error {
|
|
|
|
AFK: false,
|
|
|
|
AFK: false,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
err := session.UpdateStatusComplex(usd)
|
|
|
|
err := session.UpdateStatusComplex(usd)
|
|
|
|
|
|
|
|
log.Println(err.Error())
|
|
|
|
return err
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|