Skip to content
This repository was archived by the owner on Apr 13, 2024. It is now read-only.

Commit b8522ce

Browse files
authored
Update 3.1.0
1 parent 89d7f84 commit b8522ce

File tree

3 files changed

+5
-11
lines changed

3 files changed

+5
-11
lines changed

commands/Music/Nowplaying.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ module.exports = {
3333
const TotalDuration = formatDuration(song.duration);
3434
const Part = Math.floor(player.position / song.duration * 30);
3535
const Emoji = player.playing ? "🔴 |" : "⏸ |";
36-
37-
console.log(player.playing);
3836

3937
const embeded = new EmbedBuilder()
4038
.setAuthor({ name: player.playing ? `${client.i18n.get(language, "music", "np_title")}` : `${client.i18n.get(language, "music", "np_title_pause")}`, iconURL: `${client.i18n.get(language, "music", "np_icon")}` })

nanospace.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
const { Client, GatewayIntentBits, Collection } = require("discord.js");
22
const { Manager } = require("erela.js");
3-
const { I18n } = require("locale-parser");
3+
const { I18n } = require("@hammerhq/localization");
44

55
class MainClient extends Client {
66
constructor() {
77
super({
88
shards: "auto",
9-
allowedMentions: {
10-
everyone: false,
11-
roles: false,
12-
users: false,
13-
},
9+
allowedMentions: { parse: ["users", "roles"] },
1410
intents: [
1511
GatewayIntentBits.Guilds,
1612
GatewayIntentBits.GuildMembers,

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
22
"name": "nanospaceplus",
3-
"version": "3.0.0",
3+
"version": "3.1.0",
44
"description": "✈ Join Discord: https://discord.gg/4pk97A2 👌",
55
"main": "index.js",
66
"dependencies": {
7+
"@hammerhq/localization": "^0.1.5",
78
"@napi-rs/canvas": "^0.1.30",
89
"chalk": "^4.1.0",
910
"chillout": "^5.0.0",
1011
"common-tags": "^1.8.0",
11-
"discord.js": "^14.3.0",
12+
"discord.js": "^14.7.1",
1213
"dotenv": "^12.0.4",
1314
"erela.js": "github:Adivise/better-erela.js",
1415
"humanize-duration": "^3.27.1",
15-
"locale-parser": "^1.1.2",
1616
"lyrics-finder": "^21.7.0",
1717
"moment": "^2.29.1",
1818
"moment-duration-format": "^2.3.2",

0 commit comments

Comments
 (0)