in

Create Battle Command for Discord Bot in Android by DBD

First create two variable with name check and win

Let the value of check variable 0

Dont add any value in win variable.

Make every command with same name.

COMMAND 1

$nomention
$argsCheck[>1;You have to mention someone]
$title[BATTLE IS STARTED]
$color[#0000ff]
$description[Battle is started between **$username** and **$username[$mentioned[1]]**]
$footer[Battle started ⚔]
$setUserVar[check;1]
$setUserVar[win;$randomText[Win;Loose]]

C>COMMAND 2

pre>$nomention $argsCheck[>1;] $onlyIf[$getUserVar[win]==Win;] $title[WINNER] $color[#0000ff] $description[**$username** is the winner] $footer[Battle over ⚔] $setUserVar[check;0] $replyIn[3s]

COM>COMMAND 3

e>$nomention $argsCheck[>1;] $onlyIf[$getUserVar[win]!=Win;] $title[WINNER] $color[#0000ff] $description[**$username[$mentioned[1]]** is the winner] $footer[Battle over ⚔] $setUserVar[check;0] $replyIn[3s]

CONCL>CONCLUSION

you had any problem with command, contact me in my server –CTK SUPPORT

Related Posts

Written by Senpai

"This may be a virtual world,but I feel more alive here then in the real world"

Leave a Reply