This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
PermissionGacha/status.go

14 lines
230 B
Go

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...)
}