mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Update MDN URL
This commit is contained in:
@@ -31,7 +31,7 @@ module.exports = class MDNCommand extends Command {
|
||||
async run(msg, { query }) {
|
||||
try {
|
||||
const { body } = await request
|
||||
.get('https://developer.mozilla.org/en-US/search.json')
|
||||
.get('https://developer.mozilla.org/api/v1/search')
|
||||
.query({
|
||||
q: query,
|
||||
locale: 'en-US',
|
||||
|
||||
Reference in New Issue
Block a user