This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
package main
|
|
|
|
import (
|
|
"log"
|
|
|
|
"github.com/bwmarrin/discordgo"
|
|
)
|
|
|
|
func logError(dg *discordgo.Session, a ...interface{}) {
|
|
dg.UserUpdateStatus(discordgo.StatusDoNotDisturb)
|
|
dg.UpdateStatus(0, "with error")
|
|
log.Println(a...)
|
|
}
|