mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-17 00:07:36 +02:00
SubredditCommand structure
This commit is contained in:
@@ -20,6 +20,10 @@ module.exports = class ImgurAlbumCommand extends Command {
|
||||
}
|
||||
}
|
||||
|
||||
generateText() {
|
||||
throw new Error('The generateText method is required.');
|
||||
}
|
||||
|
||||
async random() {
|
||||
if (this.cache) return this.cache[Math.floor(Math.random() * this.cache.length)];
|
||||
const { body } = await request
|
||||
|
||||
Reference in New Issue
Block a user