mirror of
https://github.com/jackmerrill/hampbot.git
synced 2025-04-18 09:30:47 -04:00
increase threshold
This commit is contained in:
parent
70ad496add
commit
218afa32c5
@ -10,7 +10,7 @@ import (
|
|||||||
type MessageReactAddListener struct{}
|
type MessageReactAddListener struct{}
|
||||||
|
|
||||||
const STARBOARD_CHANNEL_ID = "1202408436969766982"
|
const STARBOARD_CHANNEL_ID = "1202408436969766982"
|
||||||
const STARBOARD_THRESHOLD = 1
|
const STARBOARD_THRESHOLD = 3
|
||||||
|
|
||||||
func (l *MessageReactAddListener) Exec(s *discordgo.Session, e *discordgo.MessageReactionAdd) {
|
func (l *MessageReactAddListener) Exec(s *discordgo.Session, e *discordgo.MessageReactionAdd) {
|
||||||
if e.MessageReaction.Emoji.Name == "⭐" {
|
if e.MessageReaction.Emoji.Name == "⭐" {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user