Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mirdukkkkk committed Dec 1, 2023
1 parent 9a0d942 commit 6423582
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/ClearCommand.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class ClearCommand extends PixelCommand {

const msg = await message.reply({ content: `Производится очистка холста...` });

const data = await fetch(`${message.client.config.api_domain}/info`, { method: 'GET' })
const data = await fetch(`${message.client.config.api_domain}/game`, { method: 'GET' })
.then(res => res.json());

if(data?.error ?? !data) return msg.edit({ content: 'API PixelBattle недоступно в данный момент, регенерация холста не возможна' })
Expand Down

0 comments on commit 6423582

Please sign in to comment.