Improve moreHelp on timer command

This commit is contained in:
SileNce5k 2022-05-17 15:30:17 +02:00
parent e676730f0c
commit 891edff394
No known key found for this signature in database
GPG key ID: C507260E7F2583AD

View file

@ -2,7 +2,10 @@ const parseTime = require('../../util/parseTime');
module.exports = {
name: "timer",
description: "Set a timer for a time in minutes.",
moreHelp: ["Usage","<prefix>timer <time_in_minutes> <message_to_send>", "Bot will mention you after the time has passed, with the custom message."],
moreHelp: ["Usage:"
,"`<prefix>timer <time_in_minutes> <message_to_send>`"
,"`<prefix>timer <time>(m|h|s) <message_to_send>`"
,"Bot will mention you after the time has passed, with the custom message."],
execute({message, args}) {
if(args.length < 2)
return message.channel.send("Please specify a time in minutes, and a message to send after the timer has finished");