Files
xiao/commands/random-res/shower-thought.js
T
Dragon Fire c61ae11679 Fix
2021-06-05 12:50:41 -04:00

19 lines
517 B
JavaScript

const SubredditCommand = require('../../framework/Commands/Subreddit');
module.exports = class ShowerThoughtCommand extends SubredditCommand {
constructor(client) {
super(client, {
name: 'shower-thought',
aliases: ['shower-thoughts', 'shower', 's-thought', 'shower-t'],
group: 'random-res',
memberName: 'shower-thought',
description: 'Responds with a random shower thought, directly from r/Showerthoughts.',
subreddit: 'Showerthoughts'
});
}
generateText(post) {
return post.title;
}
};