Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Variablen : starboardChannel
- __Code 1__
- Trigger : !star
- $argsCheck[>2;mention the channel and MessageID. !star #profiles 737846283]
- $nomention
- $title[**Starboard of the day**]
- $description[⭐ **__Message:__** ⭐️
- **$getMessage[$mentionedChannels[1;yes];$noMentionMessage]**
- **Date Posted:** $creationDate[$noMentionMessage]
- **Author of Message:** <@$authorOfMessage[$mentionedChannels[1;yes];$noMentionMessage]>]
- $footer[Starred by: $username]
- $color[dbb200]
- $addReactions[✨;⭐;🌟;💫]
- $addTimestamp
- $thumbnail[$userAvatar[$authorOfMessage[$mentionedChannels[1;yes];$noMentionMessage]]]
- $onlyAdmin[You need "Administrator" permission.]
- $deletecommand
- $cooldown[10s;You need to wait %time%]
- $onlyIf[$getServerVar[StarboardChannel;$guildID]!=not set;Starboard channel has not set.]
- $useChannel[$getServerVar[StarboardChannel;$guildID]]
- __Code 2__
- Trigger :!setchannel
- $nomention
- $setServerVar[StarboardChannel;$mentionedChannels[1;no]]
- $description[Successfully set starboard channel to <#$mentionedChannels[1;no]>]
- $onlyIf[$message[1]!=;:negative_squared_cross_mark: Please provide a channel!]
- $onlyPerms[managechannels;You Dont Have Permission To Execute This Command]
- $color[00ff00]
- $argsCheck[>1;pls mention a channel]
- __Code 3__
- Trigger : !resetchannel
- $nomention
- $resetServerVar[StarboardChannel]
- $description[successful reseted the starboard channel]
- $color[00ff00]
- $onlyPerms[managechannels;You Dont Have Permission To Execute This Command]
Advertisement
Add Comment
Please, Sign In to add comment