mirror of
https://github.com/LBRYFoundation/lbry-wunderbot.git
synced 2025-09-05 05:15:13 +00:00
getting speech bot ready
This commit is contained in:
parent
5507ab1547
commit
5a4cf549d1
1 changed files with 20 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
/*'use strict';
|
||||
'use strict';
|
||||
|
||||
exports.commands = [
|
||||
"speech"
|
||||
|
@ -12,7 +12,24 @@ exports.speech = {
|
|||
usage: "<claim>",
|
||||
description: 'Speech coming soon...',
|
||||
process: function(bot,msg,suffix){
|
||||
console.log(msg.member.user);
|
||||
console.log("user " + msg.member.user.username + " used !speech command");
|
||||
if (suffix === "help") {
|
||||
msg.channel.send(
|
||||
{
|
||||
"embed": {
|
||||
"title": "Speech bot help",
|
||||
"description": '**!speech `<Name>`** : *displays top claim on speech* \n' +
|
||||
'**!speech `<Name> <URL> <NSFW>`** : *Uploads Image URL to Spee.ch* \n' +
|
||||
'**NOTE : dont include spaces in name (NSFW is optional true/false, if left blank will defualt to false)** \n' +
|
||||
'EXAMPLE : `!speech my-image-name https://url/to/image.png false`',
|
||||
"color": 7976557,
|
||||
"author": {
|
||||
"name": "COMING SOON!!",
|
||||
"icon_url": "https://i.imgur.com/yWf5USu.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
)
|
||||
} else { msg.channel.send("**COMING SOON**"); };
|
||||
}
|
||||
}
|
||||
*/
|
Loading…
Add table
Reference in a new issue