DIA
discord.js - Imagine an appskeddles
using rest API to update server banner
I'm trying to use the REST api to update my server banner.
The problem is that it seems to work - the await rest.patch() line does not throw an error, and it returns the guild object (which I believe it so be expected upon success).
But when I look at my server, the banner is unchanged. I thought it might be cached, but I did a hard refresh on the website, and also waiting 12 hours.
What am I doing wrong?
DT
d.js toolkit•199d ago
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
- ✅
Marked as resolved by OPS
skeddles•199d ago
"@discordjs/rest": "^2.0.1",
"discord-api-types": "^0.37.61",
"discord.js": "^14.13.0",
you need to use body, not data
oh, thanks me, that was pretty obvious
yeah, someone should have been able to see that easily
Support server for discord.js, a Node.js module to interact with the Discord bot API.
58KMembers
View on DiscordWant results from more Discord servers?
More Postsaboort erroron latest djsInvalid bitfield in audit log channel permissions eventHey,
I currently have the issue that errors like these are sent multiple times a minute into my bot'StatusHello Everyone.
I am currently having trouble on setting my bots status. Would anyone have a basic errors in my codehey so im trying to make a streaming selfbot but ive been getting loads of errors whenever i try to TTSi want to create a simple discord bot, that will read user messages in specific channel and bot willBot Crashing After a non permission user runds commandclient.on('messageCreate', (message) => {
// Check if the message starts with "!announce" and thExtending Guild, Channel, Member etc - TypeScriptIs it possible to extend upon Guild, Channel, Member etc objects?
I have tried extending them but Does anyone have a https request bot infrastructure??djs versionsWhat version would be the best to create a discord bot in ?
have any suggestions?Anyone can help me to fix old code ?Hi there! Actually i'm stuck on an old code.
```ts
const fullPermissions = commandsCol.reduce<
Problems in developing discord botHello everyone, I'm new here , sorry, if i do something wrong. I'm trying to develop my own bot, I'mHow would you accomplish this?I've got the following situation. My bot is attempting to collect information from a user. At first,