mirror of
https://github.com/Xevion/r2park.git
synced 2025-12-07 05:16:06 -06:00
Replace log with logrus for level based logging, add debug flag
This commit is contained in:
@@ -2,11 +2,11 @@ package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"log"
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
"github.com/bwmarrin/discordgo"
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
var CodeCommandDefinition = &discordgo.ApplicationCommand{
|
||||
@@ -87,7 +87,7 @@ func CodeCommandHandler(session *discordgo.Session, interaction *discordgo.Inter
|
||||
}
|
||||
}
|
||||
default:
|
||||
log.Printf("Warning: Unhandled autocomplete option: %s", data.Options)
|
||||
log.Printf("Warning: Unhandled autocomplete option: %v", data.Options)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user