Home>
fetch (`https://discordapp.com/api/v6/channels/${/ * Channel ID * /}/messages`, {
method: 'POST',
body:/* data * /,
headers: {
'Authorization': authorization,
'Content-Type': 'application/json'
}
... (omitted)
I developed a program to send discord message with javascirpt which is not node.js,
It is a violation of discord terms of use because other people use Authorization (access token). They said.
Is it really a violation? If i am familiar with Discord, please let me know.
-
Answer # 1
-
Answer # 2
Because it was restricted by CORS before the agreement, it can't be used from the browser JS ...
It should be technically impossible, not prohibited by convention.Discord is a lot of beginners, so you can ignore other people's stories.
It's just a good introduction to programming, so there's nothing wrong with creating a bot.
Related articles
- javascript - (react) css cannot be changed using props
- image slides using javascript only work once
- javascript - i want to make a copy using a script in a spreadsheet
- javascript - i want to insert the start tag and end tag of html tags individually using jquery
- javascript - get json data of external api using useeffect of react hooks
- javascript - i want to dynamically rename a variable when using a for statement
- javascript - addition using ++ is not reflected in js
- javascript - i want to change the process using check in jquery
- javascript - i want to shorten the code using a for statement because it is long
- javascript - i want to do ban with discord js
- i want to encrypt with javascript using the public key created by openssl
- crash test using javascript canvas
- javascript - how to use multiple select box refinements using the chosenjs library
- javascript - bug (?) when using axios configuration file as a plugin in nuxt
- javascript - how to implement client-side rendering using nextjs
- javascript - behavior of if statement using or condition
- how can i avoid using global in javascript?
- javascript - i want to download a file in sjis format using js (jquery)
- how can i avoid the time lag when using setinterval in javascript?
- javascript - how to add multiple hh: mm: ss format times using momentjs
Related questions
- python - i want to be able to randomly select and send images with discord bot
- javascript - uncaught error: unknown format: i don't know how to resolve [object htmlheadingelement]
- javascript - even if you create a line bot by linking gas and line, even if you comment on line, it is only read and you can not
- i want to wait for api acquisition completion with javascript
- javascript - image acquisition by axios in rails api mode
- javascript - i want to make a btc automatic trading program using ccxt, forever, but it doesn't work 24 hours a day
- javascript - i can't create a channel with a discord bot what should i do?
- javascript - i want to display the latest instagram articles on the site
- javascript - i want to send a custom emoji with discordjs
- javascript - i want to manage the checked state and unchecked state of multiple check boxes in react for each check box
Check it yourself.
Terms of service-Discord
Discord Developer Terms of Service
Google Translate