Closed Compositr closed 2 years ago
Describe the bug
String.prototype#substr is a deprecated method and should be replaced with String.prototype#substring see MDN
String.prototype#substr
String.prototype#substring
Error
n/a
To Reproduce
Look around the code for String.prototype#substr
Expected behavior
Remove deprecated methods
Screenshots
Example of usage:
Additional context
discord-giveaways
discord.js
Add any other context about the problem here. n/a
It's fixed in Develop branch and will be released soon.
Develop
Ah ok thanks
I'll close this issue since its fixed then
Describe the bug
String.prototype#substr
is a deprecated method and should be replaced withString.prototype#substring
see MDNError
n/a
To Reproduce
Look around the code for
String.prototype#substr
Expected behavior
Remove deprecated methods
Screenshots
Example of usage:
Additional context
discord-giveaways
version: 5.0.1discord.js
version: 13.3.1Add any other context about the problem here. n/a