我需要帮助解决这个错误未处理的承诺拒绝有谁知道如何解决这个问题?
这是我的代码
const Discord = require('discord.js');
const client6 = new Discord.Client();
const fetch = require("node-fetch")
client6.on('ready', async() => {
console.log(`Logged in as ${client6.user.tag}!`);
let guild = client6.guilds.cache.get("796460123097792595");
await guild.channels.cache.find(ch => ch.id === "818953831672840203").join();
setInterval(async()=> {
guild.members.fetch(client6.user.id).then(async member => {
await fetch('https://store.steampowered.com/api/appdetails?appids=359550&cc=ar&filters=price_overview&format=json')
.then(res => res.json()).then(json=>{
member.setNickname(`${json.data.price_overview.final_formatted}`);
})
})
}, 5000);
});