Skip to content

Commit

Permalink
v4.0.0-rc10
Browse files Browse the repository at this point in the history
  • Loading branch information
Stalruth committed Feb 11, 2022
1 parent 5687dc4 commit 1a13ab5
Show file tree
Hide file tree
Showing 8 changed files with 445 additions and 1,578 deletions.
2,006 changes: 436 additions & 1,570 deletions package-lock.json

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sableyebot4",
"version": "4.0.0-rc9",
"version": "4.0.0-rc10",
"description": "Competitive Pokemon Discord Bot",
"main": "server/index.js",
"scripts": {
Expand All @@ -18,6 +18,7 @@
"dotenv": "^10.0.0"
},
"dependencies": {
"eleventy": "^1.0.6",
"mvp.css": "^1.8.0"
}
}
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-rc9",
"version": "4.0.0-rc10",
"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-rc9)',
'User-Agent': 'DiscordBot (https://github.com/Stalruth/SableyeBot4, v4.0.0-rc10)',
},
}
);
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-rc9)',
'User-Agent': 'DiscordBot (https://github.com/Stalruth/SableyeBot4, v4.0.0-rc10)',
},
}
);
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-rc9)',
'User-Agent': 'DiscordBot (https://github.com/Stalruth/SableyeBot4, 4.0.0-rc10)',
}
});
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-rc9)',
'User-Agent': 'DiscordBot (https://github.com/Stalruth/SableyeBot4, 4.0.0-rc10)',
},
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-rc9`,
text: `SableyeBot version 4.0.0-rc10`,
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-rc9)',
'User-Agent': 'DiscordBot (github.com/Stalruth/Sableyebot4, 4.0.0-rc10)',
},
body: JSON.stringify(getCommandDefinitions()),
};
Expand Down

0 comments on commit 1a13ab5

Please sign in to comment.