Test status update
This commit is contained in:
parent
e73e3fba54
commit
f70fa91b00
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user