Skip to content

Commit

Permalink
Merge pull request #328 from Token07/reponse
Browse files Browse the repository at this point in the history
reponse -> response
  • Loading branch information
Querijn authored Jun 20, 2024
2 parents 0bec82d + e28ed40 commit 92bb349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ApiUrlInterpreter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ export default class ApiUrlInterpreter {
};

const buffer = Buffer.from(JSON.stringify(json.result, null, 2), 'utf-8');
const attachment = new Discord.AttachmentBuilder(buffer, { name: 'reponse.json' });
const attachment = new Discord.AttachmentBuilder(buffer, { name: 'response.json' });
await message.channel.send({ content: `Response for ${url}:`, files: [attachment] });

this.iterator = (this.iterator % 50) + 1;
Expand Down

0 comments on commit 92bb349

Please sign in to comment.