Announcement command is use to announce anything by bot.
First we need to create set Announcement channel command which will set the Announcement channel where all Announcement message will be send.
– Create var with name an with no value.
$nomention $argsCheck[>1;Please mention the Announcement channel] $setServerVar[an;$mentionedChannels[<;yes]] $title[ANNOUCE CHANNEL] $color[#ff2052] $description[**ANNOUNCE CHANNEL HAS BEEN SET !**]
Now you need to create a announcement which will contain your announcement message and send to seted announcement channel.
$nomention $argsCheck[>1;Please write message] $title[📢 ANNOUNCEMENT] $color[#ff2052] $description[$message] $useChannel[$getServerVar[an]] $footer[Announcement by $username] $suppressErrors
Now we need to create the command that disable the Announcement function.
$nomention $setServerVar[an;] $title[ANNOUNCEMENT DISABLED] $color[#ff2052] $description[**ANNOUNCEMENT IS DISABLED BY $username**]