diff --git a/biome.json b/biome.json index 4f089219a..27538ab80 100644 --- a/biome.json +++ b/biome.json @@ -48,11 +48,7 @@ }, "files": { "ignoreUnknown": true, - "ignore": [ - ".vscode", - "node_modules", - "dist" - ] + "ignore": [".vscode", "node_modules", "dist"] }, "json": { "formatter": { @@ -77,4 +73,4 @@ "semicolons": "always" } } -} \ No newline at end of file +} diff --git a/package.json b/package.json index 90e77b1df..b3479b937 100644 --- a/package.json +++ b/package.json @@ -11,14 +11,8 @@ "build": "tsc --project tsconfig.json", "clean": "node ./scripts/clean.js && npm run build", "clean:no-log": "node ./scripts/clean-no-log.js && npm run build", - "lint": "biome lint --write ./src", - "format": "biome format --write ./src" - }, - "lint-staged": { - "*.ts": [ - "biome check --write", - "biome format --write" - ] + "lint": "biome lint --fix ./src", + "format": "biome format --fix ./src" }, "repository": { "type": "git", diff --git a/src/commands/config/Prefix.ts b/src/commands/config/Prefix.ts index 4af7eb4c2..044169f6f 100644 --- a/src/commands/config/Prefix.ts +++ b/src/commands/config/Prefix.ts @@ -10,7 +10,7 @@ export default class Prefix extends Command { usage: "prefix [set | reset]", }, category: "general", - aliases: ["prefix"], + aliases: ["pf"], cooldown: 3, args: true, player: { diff --git a/src/commands/config/Setup.ts b/src/commands/config/Setup.ts index 9c4896740..b025383ec 100644 --- a/src/commands/config/Setup.ts +++ b/src/commands/config/Setup.ts @@ -12,7 +12,7 @@ export default class Setup extends Command { usage: "setup", }, category: "config", - aliases: ["setup"], + aliases: ["set"], cooldown: 3, args: true, player: { diff --git a/src/commands/dev/GuildList.ts b/src/commands/dev/GuildList.ts index dba4a21e4..1a9ab47d7 100644 --- a/src/commands/dev/GuildList.ts +++ b/src/commands/dev/GuildList.ts @@ -10,7 +10,7 @@ export default class GuildList extends Command { usage: "guildlist", }, category: "dev", - aliases: ["glt"], + aliases: ["glst"], cooldown: 3, args: false, player: { diff --git a/src/commands/filters/Reset.ts b/src/commands/filters/Reset.ts index 56f496f9d..a26404fe7 100644 --- a/src/commands/filters/Reset.ts +++ b/src/commands/filters/Reset.ts @@ -10,7 +10,7 @@ export default class Reset extends Command { usage: "reset", }, category: "filters", - aliases: ["reset"], + aliases: ["rs"], cooldown: 3, args: false, player: { diff --git a/src/commands/info/Botinfo.ts b/src/commands/info/Botinfo.ts index 2ea453945..c939c32a5 100644 --- a/src/commands/info/Botinfo.ts +++ b/src/commands/info/Botinfo.ts @@ -13,7 +13,7 @@ export default class Botinfo extends Command { usage: "botinfo", }, category: "info", - aliases: ["info", "bi"], + aliases: ["bi", "info", "stats", "status"], cooldown: 3, args: false, player: { diff --git a/src/commands/info/Invite.ts b/src/commands/info/Invite.ts index 5bd572ae8..6b35c2cbb 100644 --- a/src/commands/info/Invite.ts +++ b/src/commands/info/Invite.ts @@ -11,7 +11,7 @@ export default class Invite extends Command { usage: "invite", }, category: "info", - aliases: ["inv"], + aliases: ["iv"], cooldown: 3, args: false, player: { diff --git a/src/commands/music/Grab.ts b/src/commands/music/Grab.ts index cff93bc43..bf7026067 100644 --- a/src/commands/music/Grab.ts +++ b/src/commands/music/Grab.ts @@ -10,7 +10,7 @@ export default class Grab extends Command { usage: "grab", }, category: "music", - aliases: [], + aliases: ["gr"], cooldown: 3, args: false, player: { diff --git a/src/commands/music/Join.ts b/src/commands/music/Join.ts index 12c4131fb..b8753c061 100644 --- a/src/commands/music/Join.ts +++ b/src/commands/music/Join.ts @@ -10,7 +10,7 @@ export default class Join extends Command { usage: "join", }, category: "music", - aliases: ["j"], + aliases: ["come", "j"], cooldown: 3, args: false, player: { diff --git a/src/commands/music/Pause.ts b/src/commands/music/Pause.ts index cc8b0902f..176efad69 100644 --- a/src/commands/music/Pause.ts +++ b/src/commands/music/Pause.ts @@ -10,7 +10,7 @@ export default class Pause extends Command { usage: "pause", }, category: "music", - aliases: [], + aliases: ["pu"], cooldown: 3, args: false, player: { diff --git a/src/commands/music/Play.ts b/src/commands/music/Play.ts index 68b25b34f..c018122a0 100644 --- a/src/commands/music/Play.ts +++ b/src/commands/music/Play.ts @@ -6,10 +6,12 @@ export default class Play extends Command { super(client, { name: "play", description: { - content: "Plays a song from YouTube or Spotify", + content: "Plays a song from YouTube, Spotify or http", examples: [ - "play https://www.youtube.com/watch?v=QH2-TGUlwu4", - "play https://open.spotify.com/track/6WrI0LAC5M1Rw2MnX2ZvEg", + "play example", + "play https://www.youtube.com/watch?v=example", + "play https://open.spotify.com/track/example", + "play http://www.example.com/example.mp3", ], usage: "play ", }, diff --git a/src/commands/music/PlayNext.ts b/src/commands/music/PlayNext.ts index 3bb8e9ea1..e8f552257 100644 --- a/src/commands/music/PlayNext.ts +++ b/src/commands/music/PlayNext.ts @@ -8,8 +8,10 @@ export default class PlayNext extends Command { description: { content: "Add the song to play next in queue", examples: [ - "playnext https://www.youtube.com/watch?v=QH2-TGUlwu4", - "playnext https://open.spotify.com/track/6WrI0LAC5M1Rw2MnX2ZvEg", + "playnext example", + "playnext https://www.youtube.com/watch?v=example", + "playnext https://open.spotify.com/track/example", + "playnext http://www.example.com/example.mp3", ], usage: "playnext ", }, diff --git a/src/commands/music/Resume.ts b/src/commands/music/Resume.ts index 6ec9fe73f..7e3f90350 100644 --- a/src/commands/music/Resume.ts +++ b/src/commands/music/Resume.ts @@ -7,7 +7,7 @@ export default class Resume extends Command { description: { content: "Resumes the current song", examples: ["resume"], - usage: "resume", + usage: "re", }, category: "music", aliases: ["r"], diff --git a/src/commands/music/Search.ts b/src/commands/music/Search.ts index 951508ce8..612d1ba56 100644 --- a/src/commands/music/Search.ts +++ b/src/commands/music/Search.ts @@ -9,8 +9,8 @@ export default class Search extends Command { name: "search", description: { content: "Searches for a song", - examples: ["search", "search "], - usage: "search", + examples: ["search example"], + usage: "search ", }, category: "music", aliases: ["sc"], diff --git a/src/commands/music/Seek.ts b/src/commands/music/Seek.ts index c9b6e9b0a..f510d117a 100644 --- a/src/commands/music/Seek.ts +++ b/src/commands/music/Seek.ts @@ -6,11 +6,11 @@ export default class Seek extends Command { name: "seek", description: { content: "Seeks to a certain time in the song", - examples: ["seek 1m, seek 1h 30m"], - usage: "seek