Update MDN URL

This commit is contained in:
Dragon Fire
2021-01-29 23:22:52 -05:00
parent d411174a09
commit 4485b6a9e2
+1 -1
View File
@@ -31,7 +31,7 @@ module.exports = class MDNCommand extends Command {
async run(msg, { query }) { async run(msg, { query }) {
try { try {
const { body } = await request const { body } = await request
.get('https://developer.mozilla.org/en-US/search.json') .get('https://developer.mozilla.org/api/v1/search')
.query({ .query({
q: query, q: query,
locale: 'en-US', locale: 'en-US',