update modules
This commit is contained in:
parent
32a4f8ddbf
commit
13c620625c
4 changed files with 29 additions and 11 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue