Add ask command
This commit is contained in:
parent
cb6b632b71
commit
c2e88c9948
1 changed files with 10 additions and 0 deletions
10
commands/misc/ask.js
Normal file
10
commands/misc/ask.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
const randomNumber = require("../../util/randomNumber");
|
||||
|
||||
module.exports = {
|
||||
name: 'ask',
|
||||
description: 'Repeats arguments',
|
||||
execute({message}) {
|
||||
let answer = randomNumber(0, 1) === 1 ? "Yes" : "No";
|
||||
message.channel.send(answer)
|
||||
}
|
||||
};
|
Loading…
Add table
Reference in a new issue