Replace usage of deprecated `String.prototype#substr` method
Closed this issue · 3 comments
Compositr commented
Describe the bug
String.prototype#substr
is a deprecated method and should be replaced with String.prototype#substring
see MDN
Error
n/a
To Reproduce
Look around the code for String.prototype#substr
Expected behavior
Remove deprecated methods
Screenshots
Additional context
discord-giveaways
version: 5.0.1discord.js
version: 13.3.1- Custom Database (if you use one): mongodb (not applicable)
Add any other context about the problem here.
n/a
imranbarbhuiya commented
It's fixed in Develop
branch and will be released soon.
Compositr commented
Ah ok thanks
Compositr commented
I'll close this issue since its fixed then