📜  shaynlink - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:12.198000             🧑  作者: Mango

代码示例1
const axios = requie('axios');
const token = '[your some crazy token]'
const shaynlink = axios
     .get('https://discord.com/api/v6/users/363603951163015168', {
        headers: {
            Authorization: `Bot ${token}`,
        },
    })
  .then((response) => response.data).catch(console.error);