Files
xiao/commands/random-res/shower-thought.js
T
2020-03-23 11:42:43 -04:00

26 lines
633 B
JavaScript

const SubredditCommand = require('../../structures/commands/Subreddit');
module.exports = class ShowerThoughtCommand extends SubredditCommand {
constructor(client) {
super(client, {
name: 'shower-thought',
aliases: ['shower-thoughts'],
group: 'random-res',
memberName: 'shower-thought',
description: 'Responds with a random shower thought, directly from r/Showerthoughts.',
subreddit: 'Showerthoughts',
credit: [
{
name: 'r/Showerthoughts',
url: 'https://www.reddit.com/r/showerthoughts',
reason: 'Shower Thought Data'
}
]
});
}
generateText(post) {
return post.title;
}
};