mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 22:32:52 +02:00
Update MDN URL
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user