mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-06 14:20:51 +02:00
Credit Command
This commit is contained in:
@@ -8,6 +8,10 @@ module.exports = class ImgurAlbumCommand extends Command {
|
||||
|
||||
this.albumID = info.albumID;
|
||||
this.cache = null;
|
||||
this.credit.push({
|
||||
name: 'Imgur API',
|
||||
url: 'https://apidocs.imgur.com/'
|
||||
});
|
||||
}
|
||||
|
||||
async run(msg, { user }) {
|
||||
|
||||
@@ -7,6 +7,10 @@ module.exports = class SubredditCommand extends Command {
|
||||
|
||||
this.subreddit = info.subreddit;
|
||||
this.postType = info.postType ? Array.isArray(info.postType) ? info.postType : [info.postType] : null;
|
||||
this.credit.push({
|
||||
name: 'Reddit',
|
||||
url: 'https://www.reddit.com/'
|
||||
});
|
||||
}
|
||||
|
||||
async run(msg, { subreddit }) {
|
||||
|
||||
Reference in New Issue
Block a user