mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-07 06:45:31 +02:00
Beep
This commit is contained in:
@@ -31,7 +31,7 @@ module.exports = class SteamCommand extends Command {
|
||||
term: query
|
||||
});
|
||||
if (!search.body.items.length) return msg.say('Could not find any results.');
|
||||
const id = search.body.items[0].id;
|
||||
const { id } = search.body.items[0];
|
||||
const { body } = await snekfetch
|
||||
.get('https://store.steampowered.com/api/appdetails')
|
||||
.query({ appids: id });
|
||||
|
||||
Reference in New Issue
Block a user