Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- This is a giveaway package for YAGPDB bot consisting of 2 Custom Commands (CCs) . Both must be saved for it to work as expected.
- Working :
- Commands (precede all commands by the prefix for YOUR server to invoke them) :
- 1) g start <Time> [Prize]
- Optional flags : -p number for specifying max number of participants( default is unlimited).
- . -w number for specifying number of winners ( default is 1)
- . -c channel mention/ID for specifying the channel for giveaway to take place ( default is current channel)
- . <Time> it is specified as the amount of time after which giveaway winners will be announced or how long giveaway will be active. Format is (num)d(num)h(num)m(num)s
- . eg: 1d3h4m15s = 1 day 3 hours 4 minutes and 15 seconds. Note : must not contain spaces in between and use the mentioned format only i.e d not days for specifying days so on..
- . [Prize] a string which will contain the prize of the giveaway , can be multiple words.
- . Use : To start a new giveaway.
- . eg: (prefix)g start 1d12h Ps4 Pro -p 50 -w 2 -c #giveaway-channel will start a giveaway in the #giveaway-channel which will remain active for 1 day 12 hours with max participants as 50 and max winners as 2.
- 2) g end <ID> Ends a giveaway with specified ID and will announce the winners instantly. Will update giveaway announcement message.
- . Note: ID is the long number which can be obtained using: `g list` command and is also mentioned in the giveaway announcement embed.
- 3) g cancel <ID> Cancels a giveaway with specified ID WITHOUT announcing winners. Will update giveaway announcement message.
- . Note: ID is the long number which can be obtained using: `g list` command and is also mentioned in the giveaway announcement embed.
- 4)g list Lists all active giveaways with their IDs , Prize and Ending Time.
- Things which can be modified : The giveaway emoji is present as the Top of both emojis and can be modified according to choice but remember!! needs to be modified for both commands (CCs).
- Credits: Developed By Satty #9361
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement