mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Remove r/bongocat from memes
This commit is contained in:
@@ -12,6 +12,5 @@
|
||||
"animemes",
|
||||
"programmerhumor",
|
||||
"bikinibottomtwitter",
|
||||
"prequelmemes",
|
||||
"bongocat"
|
||||
"prequelmemes"
|
||||
]
|
||||
|
||||
@@ -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}`);
|
||||
}
|
||||
};
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "94.1.1",
|
||||
"version": "94.1.2",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user