AFK Command in Discord Bot Designer 1

AFK Command in Discord Bot Designer

WHAT IS AFK COMMAND?

AFK is a powerful Discord bot command that allows you to manage mentions, and tell users when you’re AFK!

HOW IT WORKS?

If you set afk by bot, then whenever someone mention you , bot will tell user that user is afk and will send saved message that you have been set.

HOW WE WILL MADE IT?

Simply follow steps and enjoy afk command.

  • Create two varibable with name nm and msg , nm = 0, msg = not set
  • Create command number one with name <@
  • Now paste this code
, AFK: $getUserVar[msg;$mentioned[<]] $onlyIf[$getUserVar[nm;$mentioned[<]]==1;]
  • Now create second command with name afk
  • Paste this code
$nomention
$onlyIf[$getUserVar[nm]==0;You already enabled afk, to disableit type !stop afk]
$argsCheck[>1;Please type afk message]
$title[YOUR **AFK** HAS BEEN SET]
$color[#ff2052]
$setUserVar[nm;1]
$setUserVar[msg;$message]
  • Now create third command with name stop afk(it will disable afk)
  • Paste this code
$nomention
$title[YOU DISABLED AFK ✅]
$color[#ff2052]
$setUserVar[nm;0]

DONE, NOW USE THE COMMAND.

Related Posts

One Comment

Leave a Reply

    Leave a Reply

    Your email address will not be published. Required fields are marked *