Skip to content

Commit

Permalink
Remove node-fetch
Browse files Browse the repository at this point in the history
Use the built-in fetch from nodejs instead.
  • Loading branch information
mmerfort committed Mar 28, 2023
1 parent 1df3bf8 commit c5a6995
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 132 deletions.
127 changes: 0 additions & 127 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
"fs": "^0.0.1-security",
"hsl-rgb": "^1.0.0",
"localisetimemodule": "github:QOAL/localiseTimeModule",
"node-fetch": "^3.3.1",
"path": "^0.12.7",
"prisma": "^4.12.0",
"reflect-metadata": "^0.1.13",
Expand Down
2 changes: 0 additions & 2 deletions src/commands/itad.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ import {
SlashOption,
} from 'discordx'

import fetch from 'node-fetch'

type PlainResponse = {
data: { plain: string } | []
}
Expand Down
1 change: 0 additions & 1 deletion src/commands/quote.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
SlashOption,
} from 'discordx'
import { uwuify } from './uwu'
import fetch from 'node-fetch'

interface Quote {
id: number
Expand Down
2 changes: 1 addition & 1 deletion src/commands/weather.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import {
Slash,
SlashOption,
} from 'discordx'
import fetch from 'node-fetch'
import hslRgb from 'hsl-rgb'


interface weatherResponse {
msg: EmbedBuilder
ephemeral: boolean
Expand Down

0 comments on commit c5a6995

Please sign in to comment.