Skip to content

Commit

Permalink
Merge pull request #52 from RezkyRizaldi/v14
Browse files Browse the repository at this point in the history
V1.29.0
  • Loading branch information
RezkyRizaldi authored Nov 17, 2022
2 parents fa29975 + 3473a1a commit 1964cfe
Show file tree
Hide file tree
Showing 65 changed files with 4,659 additions and 3,018 deletions.
3 changes: 0 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ CHANNEL_THREAD_WEBHOOK_ID=
CHANNEL_THREAD_WEBHOOK_TOKEN=
CLIENT_ID=
DASHBOARD_CATEGORY_CHANNEL_ID=
GENIUS_CLIENT_ID=
GENIUS_CLIENT_SECRET=
GENIUS_CLIENT_ACCESS_TOKEN=
GUILD_ID=
HOLODEX_API_KEY=
MEMBER_GUILD_BAN_WEBHOOK_ID=
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "borobot",
"version": "1.28.3",
"version": "1.29.0",
"description": "A simple Discord Bot build with Discord.js",
"displayName": "Borobot",
"bugs": {
Expand Down Expand Up @@ -54,7 +54,6 @@
"distube": "^4.0.4",
"dotenv": "^16.0.3",
"ffmpeg-static": "^5.1.0",
"genius-lyrics-api": "^3.2.0",
"holodex.js": "^2.0.5",
"images-scraper": "^6.4.2",
"libsodium-wrappers": "^0.7.10",
Expand Down Expand Up @@ -86,4 +85,4 @@
"*.ts": "eslint --cache --fix",
"*.{ts,css,md}": "prettier --write"
}
}
}
7 changes: 3 additions & 4 deletions src/commands/misc/calc.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ module.exports = {
.setRequired(true),
),
),

type: 'Chat Input',

/**
Expand Down Expand Up @@ -60,7 +59,7 @@ module.exports = {
limit: 10,
});

pagination.setColor(guild.members.me.displayHexColor);
pagination.setColor(guild?.members.me?.displayHexColor ?? null);
pagination.setTimestamp(Date.now());
pagination.setFooter({
text: `${client.user.username} | Page {pageNumber} of {totalPages}`,
Expand Down Expand Up @@ -88,10 +87,10 @@ module.exports = {
}

case 'run': {
const operation = options.getString('operation');
const operation = options.getString('operation', true);

const embed = new EmbedBuilder()
.setColor(guild.members.me.displayHexColor)
.setColor(guild?.members.me?.displayHexColor ?? null)
.setTimestamp(Date.now())
.setFooter({
text: client.user.username,
Expand Down
Loading

0 comments on commit 1964cfe

Please sign in to comment.