4 |
import CommandOptions from '../../types/CommandOptions'; |
import CommandOptions from '../../types/CommandOptions'; |
5 |
import InteractionOptions from '../../types/InteractionOptions'; |
import InteractionOptions from '../../types/InteractionOptions'; |
6 |
import axios from 'axios'; |
import axios from 'axios'; |
7 |
import path from 'path'; |
import { random } from '../../utils/util'; |
|
import { deleteFile, download, random } from '../../utils/util'; |
|
8 |
|
|
9 |
|
|
10 |
function url() { |
function url() { |
69 |
|
|
70 |
export default class PixabayCommand extends BaseCommand { |
export default class PixabayCommand extends BaseCommand { |
71 |
supportsInteractions: boolean = true; |
supportsInteractions: boolean = true; |
72 |
|
coolDown = 4000; |
73 |
|
|
74 |
constructor() { |
constructor() { |
75 |
super('pixabay', 'fun', []); |
super('pixabay', 'fun', []); |