Started work on giveaways, not completed

This commit is contained in:
Kwoth
2024-04-24 16:31:51 +00:00
parent 08d8da25cd
commit 59b9742c19
25 changed files with 11667 additions and 11 deletions

View File

@@ -1393,4 +1393,14 @@ doas:
- doas
- execas
cacheusers:
- cacheusers
- cacheusers
giveawaystart:
- start
giveawayend:
- end
giveawaycancel:
- cancel
giveawayreroll:
- reroll
giveawaylist:
- list

View File

@@ -2388,5 +2388,27 @@ cacheusers:
- "serverId"
stickyroles:
desc: "Toggles whether the bot will save the leaving users' roles, and reapply them once they re-join. The roles will be stored for up to 30 days."
args:
- ""
giveawaystart:
desc: "Starts a giveaway. Specify the duration (between 1 minute and 30 days) followed by the prize."
args:
- "12h We are giving away one copy of our latest album!"
- "15m Quick giveaway for a free course!"
- "1d Join to win 1000$!"
giveawayend:
desc: "Prematurely ends a giveaway and chooses a winner. Specify the ID of the giveaway to end."
args:
- "ab3"
giveawaycancel:
desc: "Cancels a giveaway. Specify the ID of the giveaway to cancel."
args:
- "ab3"
giveawayreroll:
desc: "Rerolls a giveaway. Specify the ID of the giveaway to reroll. The winner will not be chosen."
args:
- "cd3"
giveawaylist:
desc: "Lists all active giveaways."
args:
- ""

View File

@@ -1066,5 +1066,14 @@
"cache_users_pending": "Updating users, please wait...",
"cache_users_done": "{0} users were added and {1} users were updated.",
"sticky_roles_enabled": "Sticky roles enabled. Leaving users' roles will be restored when they rejoin the server.",
"sticky_roles_disabled": "Sticky roles disabled."
"sticky_roles_disabled": "Sticky roles disabled.",
"giveaway_duration_invalid": "Giveaway may not be shorter than 1 minute or longer than 30 days",
"giveaway_started": "Giveaway Started!",
"giveaway_max_amount_reached": "You've reached the maximum amount of giveaways you can have on this server.",
"giveaway_not_found": "Giveaway not found.",
"giveaway_ended": "Giveaway ended",
"no_givaways": "There are no active giveaways on this server.",
"giveaway_cancelled": "Giveaway cancelled.",
"giveaway_starting": "Starting giveaway...",
"winner": "Winner"
}