mirror of
https://github.com/cassoule/flopobot_v2.git
synced 2026-01-18 16:37:40 +01:00
2
utils.js
2
utils.js
@@ -25,7 +25,7 @@ export async function DiscordRequest(endpoint, options) {
|
||||
headers: {
|
||||
Authorization: `Bot ${process.env.DISCORD_TOKEN}`,
|
||||
'Content-Type': 'application/json; charset=UTF-8',
|
||||
'User-Agent': 'DiscordBot (https://github.com/discord/discord-example-app, null)',
|
||||
'User-Agent': 'DiscordBot (https://github.com/discord/discord-example-app, 0.0.0)',
|
||||
},
|
||||
...options
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user