Advertisement
Guest User

Untitled

a guest
Nov 14th, 2019
992
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.22 KB | None | 0 0
  1. This is a giveaway package for YAGPDB bot consisting of 2 Custom Commands (CCs) . Both must be saved for it to work as expected.
  2.  
  3.  
  4. Working :
  5.  
  6. Commands (precede all commands by the prefix for YOUR server to invoke them) :
  7.  
  8. 1) g start <Time> [Prize]
  9.  
  10. Optional flags : -p number for specifying max number of participants( default is unlimited).
  11. . -w number for specifying number of winners ( default is 1)
  12. . -c channel mention/ID for specifying the channel for giveaway to take place ( default is current channel)
  13.  
  14. . <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
  15.  
  16. . 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..
  17.  
  18. . [Prize] a string which will contain the prize of the giveaway , can be multiple words.
  19.  
  20. . Use : To start a new giveaway.
  21.  
  22. . 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.
  23.  
  24. 2) g end <ID> Ends a giveaway with specified ID and will announce the winners instantly. Will update giveaway announcement message.
  25. . Note: ID is the long number which can be obtained using: `g list` command and is also mentioned in the giveaway announcement embed.
  26.  
  27.  
  28. 3) g cancel <ID> Cancels a giveaway with specified ID WITHOUT announcing winners. Will update giveaway announcement message.
  29. . Note: ID is the long number which can be obtained using: `g list` command and is also mentioned in the giveaway announcement embed.
  30.  
  31. 4)g list Lists all active giveaways with their IDs , Prize and Ending Time.
  32.  
  33.  
  34. 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).
  35.  
  36. Credits: Developed By Satty #9361
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement