We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2b2023 commit 43de46aCopy full SHA for 43de46a
src/commands/user/oeis.js
@@ -28,7 +28,12 @@ export default {
28
const seq = interaction.options.get("sequence")?.value;
29
if (!seq) return await interaction.editReply({ content: await __("errors.invalid_argument")(interaction.guildId) });
30
31
- const { results } = await fetch(`https://oeis.org/search?q=${seq}&fmt=json`).then((r) => r.json());
+ const f = await fetch(`https://oeis.org/search?q=${seq}&fmt=json`);
32
+
33
+ console.log(f);
34
35
+ const results = await f.json();
36
37
if (!results || !results.length) return await interaction.editReply({ content: "¯\\_(ツ)_/¯" });
38
39
const first5 = results.slice(0, 5);
0 commit comments