this commit right here, is so large and long that it took 7 days to upload. its also really important. the importancy of this update cannot the described by words, you just have to read the code
This commit is contained in:
parent
994e4f72b2
commit
79740a8639
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ export default class PingCommand extends Command {
|
||||||
await interaction.deferReply()
|
await interaction.deferReply()
|
||||||
const user = interaction.options.getString("user") ?? config.listenbrainzAccount;
|
const user = interaction.options.getString("user") ?? config.listenbrainzAccount;
|
||||||
const usesonglink = interaction.options.getBoolean("usesonglink") ?? true
|
const usesonglink = interaction.options.getBoolean("usesonglink") ?? true
|
||||||
const useitunes = interaction.options.getBoolean("useitunes") ?? true
|
const useitunes = interaction.options.getBoolean("useitunes") ?? false
|
||||||
const meow = await fetch(`https://api.listenbrainz.org/1/user/${user}/playing-now`).then((res) => res.json());
|
const meow = await fetch(`https://api.listenbrainz.org/1/user/${user}/playing-now`).then((res) => res.json());
|
||||||
if (!meow) {
|
if (!meow) {
|
||||||
await interaction.followUp("something shat itself!");
|
await interaction.followUp("something shat itself!");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue