This commit is contained in:
parent
74cdd04d27
commit
60972e5782
2 changed files with 23 additions and 6 deletions
|
@ -26,6 +26,7 @@ export default class Bunny extends Command {
|
|||
];
|
||||
|
||||
const random = Math.floor(Math.random() * subreddits.length);
|
||||
|
||||
const selectedSubreddit = subreddits[random];
|
||||
|
||||
const result = await randomBunny(selectedSubreddit, 'hot');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue