JackDotJS / OptiBot

(DISCONTINUED) The original Discord bot for OptiFine. https://discord.gg/3mMpcwW
1 stars 0 forks source link

?delnote is unable to delete records if they are the first in the user's record #294

Open JackDotJS opened 3 years ago

JackDotJS commented 3 years ago

?delnote checks if the record has an index by simply running !entry.index. this usually returns a true value if the record is invalid. however, this method also returns true if the value is 0. this needs to be fixed.