mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-24 02:15:10 +02:00
Remove r/bongocat from memes
This commit is contained in:
@@ -12,6 +12,5 @@
|
|||||||
"animemes",
|
"animemes",
|
||||||
"programmerhumor",
|
"programmerhumor",
|
||||||
"bikinibottomtwitter",
|
"bikinibottomtwitter",
|
||||||
"prequelmemes",
|
"prequelmemes"
|
||||||
"bongocat"
|
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ module.exports = class MemeCommand extends SubredditCommand {
|
|||||||
description: 'Responds with a random meme.',
|
description: 'Responds with a random meme.',
|
||||||
details: `**Subreddits:** ${subreddits.join(', ')}`,
|
details: `**Subreddits:** ${subreddits.join(', ')}`,
|
||||||
clientPermissions: ['ATTACH_FILES'],
|
clientPermissions: ['ATTACH_FILES'],
|
||||||
postType: ['image', 'rich:video'],
|
postType: 'image',
|
||||||
args: [
|
args: [
|
||||||
{
|
{
|
||||||
key: 'subreddit',
|
key: 'subreddit',
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ module.exports = class RedditCommand extends SubredditCommand {
|
|||||||
.setTitle(post.title)
|
.setTitle(post.title)
|
||||||
.setImage(post.post_hint === 'image' ? post.url : null)
|
.setImage(post.post_hint === 'image' ? post.url : null)
|
||||||
.setURL(`https://www.reddit.com${post.permalink}`)
|
.setURL(`https://www.reddit.com${post.permalink}`)
|
||||||
.setTimestamp(post.created_utc * 1000)
|
.setTimestamp(post.created * 1000)
|
||||||
.setFooter(`⬆ ${post.ups}`);
|
.setFooter(`⬆ ${post.ups}`);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "xiao",
|
"name": "xiao",
|
||||||
"version": "94.1.1",
|
"version": "94.1.2",
|
||||||
"description": "Your personal server companion.",
|
"description": "Your personal server companion.",
|
||||||
"main": "Xiao.js",
|
"main": "Xiao.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user