Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix push command global #1

Merged
merged 1 commit into from Apr 11, 2022
Merged

fix push command global #1

merged 1 commit into from Apr 11, 2022

Conversation

Teerut26
Copy link
Contributor

แก้บัค push command global

$ node push_global.js 
    errors: { guild_id: [Object] },
    message: 'Invalid Form Body'
  },
  code: 50035,
  status: 400,
  method: 'put',
  url: 'https://discord.com/api/v9/applications/xxxxxxxxxxxxxxxxxx/guilds/undefined/commands',
  requestBody: { files: undefined, json: [ [Object], [Object] ] }
}

@manybaht
Copy link
Owner

Oopsie and thank you, I forgot that it push to global not guild.

@manybaht manybaht merged commit e9ccd08 into manybaht:main Apr 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants