mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-16 00:12:32 +02:00
Remove r/bongocat from memes
This commit is contained in:
@@ -12,7 +12,7 @@ module.exports = class MemeCommand extends SubredditCommand {
|
||||
description: 'Responds with a random meme.',
|
||||
details: `**Subreddits:** ${subreddits.join(', ')}`,
|
||||
clientPermissions: ['ATTACH_FILES'],
|
||||
postType: ['image', 'rich:video'],
|
||||
postType: 'image',
|
||||
args: [
|
||||
{
|
||||
key: 'subreddit',
|
||||
|
||||
@@ -28,7 +28,7 @@ module.exports = class RedditCommand extends SubredditCommand {
|
||||
.setTitle(post.title)
|
||||
.setImage(post.post_hint === 'image' ? post.url : null)
|
||||
.setURL(`https://www.reddit.com${post.permalink}`)
|
||||
.setTimestamp(post.created_utc * 1000)
|
||||
.setTimestamp(post.created * 1000)
|
||||
.setFooter(`⬆ ${post.ups}`);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user