Skip to content

Commit

Permalink
Update dependencies, remove node-fetch (use official node-fetch), bum…
Browse files Browse the repository at this point in the history
…p to 0.8.2 (#159)
  • Loading branch information
earnestangel authored Jun 29, 2023
1 parent b9c8ed6 commit 19cdd3f
Show file tree
Hide file tree
Showing 19 changed files with 312 additions and 86 deletions.
328 changes: 282 additions & 46 deletions package-lock.json

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ririko",
"version": "0.8.1",
"version": "0.8.2",
"description": "Ririko - A powerful AI-powered general Discord bot that you can call your companion",
"author": "Earnest Angel",
"email": "[email protected]",
Expand Down Expand Up @@ -41,30 +41,30 @@
"node": "18.16.0"
},
"dependencies": {
"@discordjs/builders": "^1.6.1",
"@discordjs/builders": "^1.6.3",
"@discordjs/opus": "^0.9.0",
"@discordjs/rest": "^1.5.0",
"@discordjs/rest": "^1.7.1",
"@discordjs/voice": "^0.16.0",
"@distube/deezer": "^1.0.0",
"@distube/soundcloud": "^1.3.0",
"@distube/spotify": "^1.5.1",
"@distube/yt-dlp": "^1.1.3",
"@distube/ytdl-core": "^4.11.7",
"@vitalets/google-translate-api": "^9.1.0",
"@vitalets/google-translate-api": "^9.2.0",
"anime-wallpaper": "^1.1.1",
"axios": "^1.4.0",
"better-sqlite3": "^8.2.0",
"better-sqlite3": "^8.4.0",
"canvas": "^2.11.2",
"cheerio": "^1.0.0-rc.12",
"colors": "^1.4.0",
"country-emoji-languages": "^1.0.0",
"date-fns": "^2.30.0",
"decimal.js": "^10.4.3",
"discord-api-types": "^0.37.37",
"discord-api-types": "^0.37.47",
"discord-giveaways": "^6.0.1",
"discord.js": "^14.8.0",
"distube": "^4.0.4",
"dotenv": "^16.0.3",
"dotenv": "^16.3.1",
"enhanced-ms": "^2.3.0",
"express": "^4.18.2",
"ffmpeg": "^0.0.4",
Expand All @@ -74,21 +74,21 @@
"iso-639-1": "^2.1.15",
"jest": "^29.5.0",
"libsodium-wrappers": "^0.7.11",
"mathjs": "^11.6.0",
"mathjs": "^11.8.2",
"moment": "^2.29.4",
"mongodb": "^5.1.0",
"mongoose": "^7.0.1",
"mongodb": "^5.6.0",
"mongoose": "^7.3.1",
"ms": "^2.1.3",
"nekos.life": "^3.0.0",
"nlpcloud": "^1.0.41",
"node-fetch": "^2.6.7",
"nlpcloud": "^1.0.47",
"node-fetch": "^3.3.1",
"npm-run-all": "^4.1.5",
"openai": "^3.2.1",
"parsec": "^2.0.2",
"pino": "^8.11.0",
"pino": "^8.14.1",
"pino-pretty": "^10.0.0",
"pretty-ms": "^8.0.0",
"quick.db": "^9.1.3",
"quick.db": "^9.1.6",
"redis": "^4.6.7",
"replicate": "^0.12.3",
"save-dev": "^0.0.1-security",
Expand Down
1 change: 0 additions & 1 deletion src/commands/prefix/Anime/foxgirl.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
const { MessageEmbed, EmbedBuilder } = require("discord.js");
const fetch = require("node-fetch");
const { getLang } = require("helpers/language");

module.exports = {
Expand Down
1 change: 0 additions & 1 deletion src/commands/prefix/Anime/gasm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
const { MessageEmbed, EmbedBuilder } = require("discord.js");
const fetch = require("node-fetch");
const { getLang } = require("helpers/language");

module.exports = {
Expand Down
1 change: 0 additions & 1 deletion src/commands/prefix/Anime/nekogif.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
const { MessageEmbed, EmbedBuilder } = require("discord.js");
const fetch = require("node-fetch");
const { getLang } = require("helpers/language");

module.exports = {
Expand Down
1 change: 0 additions & 1 deletion src/commands/prefix/Anime/waifu.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
const { MessageEmbed, EmbedBuilder } = require("discord.js");
const fetch = require("node-fetch");
const { getLang } = require("helpers/language");

module.exports = {
Expand Down
2 changes: 0 additions & 2 deletions src/commands/prefix/Anime/wallpaper.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ const {
const { AnimeWallpaper } = require("anime-wallpaper");
const wall = new AnimeWallpaper();
const { getLang } = require("helpers/language");
const fetch = require("node-fetch");

module.exports = {
config: {
name: "wallpaper",
Expand Down
1 change: 0 additions & 1 deletion src/commands/prefix/Anime/wink.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
const { MessageEmbed, EmbedBuilder } = require("discord.js");
const fetch = require("node-fetch");
const { getLang } = require("helpers/language");

module.exports = {
Expand Down
1 change: 0 additions & 1 deletion src/commands/prefix/Fun/spoiler.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
const { MessageEmbed, EmbedBuilder } = require("discord.js");
const fetch = require("node-fetch");
const { getLang } = require("helpers/language");

module.exports = {
Expand Down
4 changes: 2 additions & 2 deletions src/commands/prefix/Giveaway/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ let created = false;

module.exports = {
config: {
name: "giveaway-create",
name: "gcreate",
description: "Create a new giveaway (Wizard)",
usage: "giveaway-create",
usage: "gcreate",
},
category: "Giveaways",
owner: false,
Expand Down
4 changes: 2 additions & 2 deletions src/commands/prefix/Giveaway/drop.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
const messages = require("helpers/message");
module.exports = {
config: {
name: "giveaway-drop",
name: "gdrop",
description: "Create a new drop giveaway (click to win)",
usage: "giveaway-drop [#channel] [winners] [prize]",
usage: "gdrop [#channel] [winners] [prize]",
},
category: "Giveaways",
owner: false,
Expand Down
4 changes: 2 additions & 2 deletions src/commands/prefix/Giveaway/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
*/
module.exports = {
config: {
name: "giveaway-edit",
name: "gedit",
description: "Edit an existing giveaway",
usage: "giveaway-edit",
usage: "gedit",
},
category: "Giveaways",
owner: false,
Expand Down
4 changes: 2 additions & 2 deletions src/commands/prefix/Giveaway/end.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
*/
module.exports = {
config: {
name: "giveaway-end",
name: "gend",
description: "End an existing giveaway.",
usage: "giveaway-end [message ID]",
usage: "gend [message ID]",
},
category: "Giveaways",
owner: false,
Expand Down
4 changes: 2 additions & 2 deletions src/commands/prefix/Giveaway/help.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ const { footer1 } = require("languages/en");

module.exports = {
config: {
name: "giveaway-help",
name: "ghelp",
description: "Learn how to use the giveaway commands.",
usage: "giveaway-help",
usage: "ghelp",
},
category: "Giveaways",
owner: false,
Expand Down
4 changes: 2 additions & 2 deletions src/commands/prefix/Giveaway/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ const Discord = require("discord.js");

module.exports = {
config: {
name: "giveaway-list",
name: "glist",
description: "List all giveaways.",
usage: "giveaway-list",
usage: "glist",
},
category: "Giveaways",
owner: false,
Expand Down
4 changes: 2 additions & 2 deletions src/commands/prefix/Giveaway/reroll.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
const ms = require("ms");
module.exports = {
config: {
name: "giveaway-reroll",
name: "greroll",
description: "Reroll a giveaway.",
usage: "giveaway-reroll [messageId]",
usage: "greroll [messageId]",
},
category: "Giveaways",
owner: false,
Expand Down
4 changes: 2 additions & 2 deletions src/commands/prefix/Giveaway/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ const ms = require("ms");
const messages = require("helpers/message");
module.exports = {
config: {
name: "giveaway-start",
name: "gstart",
description: "Start a new giveaway",
usage: "giveaway-start [#channel] [duration] [winners] [prize]",
usage: "gstart [#channel] [duration] [winners] [prize]",
},
category: "Giveaways",
owner: false,
Expand Down
1 change: 0 additions & 1 deletion src/helpers/httpUtils.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
const ISO6391 = require("iso-639-1");
const sourcebin = require("sourcebin_js");
const { error, debug } = require("helpers/logger");
const fetch = require("node-fetch");
const { translate: gTranslate } = require("@vitalets/google-translate-api");

module.exports = class HttpUtils {
Expand Down
1 change: 0 additions & 1 deletion src/tools/anime.js/src/util.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
const fetch = require("node-fetch");
const cheerio = require("cheerio");
const { Anime, Manga } = require("./animeSearchClass");
const { honorifics } = require("./db");
Expand Down

0 comments on commit 19cdd3f

Please sign in to comment.