update modules

This commit is contained in:
Seraphim Strub 2023-06-23 07:36:58 +00:00
parent 32a4f8ddbf
commit 13c620625c
4 changed files with 29 additions and 11 deletions

View file

@ -63,7 +63,7 @@ func main() {
bot.WithEventListenerFunc(event.LeaveEvent),
)
if err != nil {
log.Fatal("error while building disgo instance: ", err)
log.Fatal("error while building vcbot instance: ", err)
return
}

View file

@ -71,7 +71,7 @@ func LeaveEvent(event *events.GuildMemberLeave) {
func ReactionEvent(event *events.ComponentInteractionCreate) {
if event.Channel().ID != config.ChannelWelcomeID {
if event.Channel().ID() != config.ChannelWelcomeID {
// reaction is not in welcome chat
return
}