Skip to content

Commit

Permalink
v4.0.0-rc11
Browse files Browse the repository at this point in the history
  • Loading branch information
Stalruth committed Feb 13, 2022
1 parent f7f4bb2 commit f9a7b80
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sableyebot4",
"version": "4.0.0-rc10",
"version": "4.0.0-rc11",
"description": "Competitive Pokemon Discord Bot",
"main": "server/index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sableyebot-server",
"version": "4.0.0-rc10",
"version": "4.0.0-rc11",
"description": "Server Package for SableyeBot 4",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion server/src/handlers/ChatInputCommands/filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ async function followUp(interaction) {
body: JSON.stringify(message),
headers: {
'Content-Type': 'application/json',
'User-Agent': 'DiscordBot (https://github.com/Stalruth/SableyeBot4, v4.0.0-rc10)',
'User-Agent': 'DiscordBot (https://github.com/Stalruth/SableyeBot4, v4.0.0-rc11)',
},
}
);
Expand Down
2 changes: 1 addition & 1 deletion server/src/handlers/MessageComponents/filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ async function getPage(interaction, respond) {
}),
headers: {
'Content-Type': 'application/json',
'User-Agent': 'DiscordBot (https://github.com/Stalruth/SableyeBot4, v4.0.0-rc10)',
'User-Agent': 'DiscordBot (https://github.com/Stalruth/SableyeBot4, v4.0.0-rc11)',
},
}
);
Expand Down
4 changes: 2 additions & 2 deletions server/src/modules/db-service/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ filters.on('delete', async (data) => {
try {
const originalMessage = await fetch(`https://discord.com/api/v9/webhooks/${data.webhook.appId}/${data.webhook.token}/messages/@original`, {
headers: {
'User-Agent': 'DiscordBot (https://github.com/Stalruth/SableyeBot4, 4.0.0-rc10)',
'User-Agent': 'DiscordBot (https://github.com/Stalruth/SableyeBot4, 4.0.0-rc11)',
}
});
const message = await originalMessage.json();
Expand All @@ -18,7 +18,7 @@ filters.on('delete', async (data) => {
method: 'PATCH',
headers: {
'Content-Type': 'application/json',
'User-Agent': 'DiscordBot (https://github.com/Stalruth/SableyeBot4, 4.0.0-rc10)',
'User-Agent': 'DiscordBot (https://github.com/Stalruth/SableyeBot4, 4.0.0-rc11)',
},
body: JSON.stringify(message)
});
Expand Down
2 changes: 1 addition & 1 deletion server/src/modules/embed-builder/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function buildEmbed(options) {
const defaults = {
color: 0x5F32AB,
footer: {
text: `SableyeBot version 4.0.0-rc10`,
text: `SableyeBot version 4.0.0-rc11`,
icon_url: 'https://cdn.discordapp.com/avatars/211522070620667905/6b037c17fc6671f0a5dc73803a4c3338.webp',
},
};
Expand Down
2 changes: 1 addition & 1 deletion server/updateCommands.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const options = {
headers: {
'Authorization': `Bot ${BOT_TOKEN}`,
'Content-Type': 'application/json',
'User-Agent': 'DiscordBot (github.com/Stalruth/Sableyebot4, 4.0.0-rc10)',
'User-Agent': 'DiscordBot (github.com/Stalruth/Sableyebot4, 4.0.0-rc11)',
},
body: JSON.stringify(getCommandDefinitions()),
};
Expand Down

0 comments on commit f9a7b80

Please sign in to comment.