Announce an event

Hello, I would like to have a custom command for discord.
This one (name !Prog) should allow to schedule a game session. for example it would be nice to be able to do: “!prog14” so that the discord bot says: “@everyone, play at 14:00”.
but I didn’t know if it’s possible.
thank you

@coconuts_z

!addcom -cd=5 !prog $(eval a=parseInt(decodeURIComponent(`$(querystring)`));Number.isInteger(a)?`@everyone, play at ${a}:00`:`Invalid input!`)

Usage: !prog [hour of day]

1 Like

when i sent :
!prog 16
the bot say :
!addcom -cd=5 !prog @everyone, play at 16:100
why they have !addcom -cd=5 !prog ?Sans%20titre

The command I set up above was meant to be copied and pasted into chat, not the dashboard. Just remove “!addcom -cd=5 !prog” from the command response.

1 Like

Thank man, it’s work

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.