Skip to content
This repository has been archived by the owner on Nov 11, 2024. It is now read-only.

Commit

Permalink
fix(deps): update dependency discord.js to v14 (#973)
Browse files Browse the repository at this point in the history
* fix(deps): update dependency discord.js to v14

* refactor: migrating to discord.js to v14 (#1066)

* fix(deps): update dependency discord.js to v14

* fixed messageEmbed.addField deprecation warning

* added accidentally deleted files

* upgraded config files to djs v14

* upgraded utils to v14

* upgraded general & developers commands to djs v14

* upgraded events to djs v14
InteractionCreateEvent & ReadyEvent need to be fixed

* upgraded structures to djs v14

* added v14 roadmap for better progress tracking

* upgraded moderation commands to djs v14
fixed help command

* change activity type from 'PLAYING' to ActivityType.Playing

* upgraded  &

* upgraded  &

* Changed typings/index.d.ts
MessageEmbed method is now EmbedBuilder

* fixed method names and color names

* fixed both handlers

* Fixed ButtonPagination (only method names are changed)
filter need to be fixed

* fixed commands

* fixed config files
env.ts - changed exclude activity types from CUSTOM to ActivityType.Custom
index.ts - added MessageContent Intent to receive Privileged Message Content Intent data

* notfixed : readyevent
the setPresence method is not working

* change exclude activity type from CUSTOM to ActivityType.Custom

* fixed utilities

* updated v14 roadmap

* Fix:
EvalCommands: added extra space above embed#setColor
Kick & WarnCommand: removed #toString() from reason

* Fix: Events
InteractionEventCreate: #type property is not available on options#getUser method, so i added an extra if check to see if data is Message
MessageCreateEvent: fixed DM value & i hate prettier XD

* removed comments

* fix(deps): update dependency discord.js to v14

* Fix: ClientUtils

* Fix: setPresence method
PLAYING.. etc are not valid ActivityType we need ID of that activity
1. Added new type EnvActivityTypes
2. toCapitalCase method to convert PLAYING to Playing
3. search for id in ActivityType using ActivityType['Playing'] which returns 0

* updated roadmap

* Update v14.md

* fix(deps): update dependency discord.js to v14

* fix(deps): update dependency discord.js to v14

* fixed a minor typo

* Fix typo in UnBanCommand
Fix SetMuteCommand

* Fix
not sending modlogs for unban event, the fetch method always returns undefined

* fixed conflicts caused by renovate bot

* updated roadmap

* fixed minor typo in en.json

* fixed @typescript-eslint/no-unnecessary-type-assertion error

* fixed typo ubanSuccess to unbanSuccess

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: mzrtamp <[email protected]>

* fix(deps): update dependency @swc/core to v1.3.21

* chore(deps): update dependency @types/node to v18.11.10

* chore(deps): update lockfile

* chore(*): re-beautify import statements

Co-authored-by: mzrtamp <[email protected]>

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: GodOfWarOP <[email protected]>
Co-authored-by: mzrtamp <[email protected]>
Co-authored-by: Mednoob <[email protected]>
  • Loading branch information
4 people committed Mar 7, 2023
1 parent 7601cdd commit 8f8763a
Show file tree
Hide file tree
Showing 52 changed files with 983 additions and 644 deletions.
2 changes: 1 addition & 1 deletion lang/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"description": "Évaluer au bot",
"errorString": "Erreur",
"noCode": "Aucun code n'a été fourni.",
"inputString": "Entrée",
"inputString": "Entrée",
"outputString": "Sortie",
"usage": "{prefix}eval <du code>"
}
Expand Down
Loading

0 comments on commit 8f8763a

Please sign in to comment.