#Counting System

1 messages · Page 1 of 1 (latest)

outer venture
#
    if message is from guild:
        if event-channel is text channel with id "1207091127711301682":
            if event-message contains "%{count}%":
                add 1 to {count}
                add reaction ":white_check_mark:" to event-message
            else:
                reply with ":x: **Invalid Number!**%nl%**The next number is %{count}%!"
                message delete
                
            
discord command resetcount:
    prefixes: !
    trigger:
        set {count} to 1
        reply with "**Successfully set the count to 0!**"```
Btw I have defined the bot
hollow wigeon
#

thanks for letting us know which part doesnt work 👍

vast sapphire
#

uhm

#

sorry to break it to ya but 1 != 0

outer venture
#

had to be 1

#

@vast sapphire

vast sapphire
#

Don't ping me

#

And not telling us the problem is very helpful.

scenic plank
#

Why do you have if message is from guild

#

It will always be from the guild that the bot is in

outer venture
#

Fixed all errors but it won't work

vast sapphire
#

What 'doesn't work'.

#

Did you debug it.

stoic walrus
#

it doesn't work