[...]: error: value "xxxxxxxxxxxxxxxxxxxx" is out of range for type integer
(see images below)
High Severity Issue that affects both bots.
Commands Affected/rank - ALL subcommand groups
Cause
Conflicting data types while setting up RankCardModel. The table is already named as RankCards with the model implemented, and changing the C to c still has no effect, neither does adding a 2 at the end.
(base)/database.ts:33-42
(this was an accident, I changed the type property of id to DataTypes.STRING however is still causing the error because the database already has the base model with the incorrect type set up)
Changes to be made
database.ts - change model
rank.ts - comment out lines or sections of lines of code that use or include it
#ff0000HIGH SEVERITY ISSUE that is causing the bot to break when the /rank command is used. Was unnoticed during #10 the merging of revamp to main.
Description:
(see images below)
High Severity Issue that affects both bots.
Commands Affected
/rank
- ALL subcommand groupsCause Conflicting data types while setting up
RankCardModel
. The table is already named asRankCards
with the model implemented, and changing theC
toc
still has no effect, neither does adding a2
at the end.(base)/database.ts:19-22
(base)/database.ts:33-42
(this was an accident, I changed thetype
property ofid
toDataTypes.STRING
however is still causing the error because the database already has the base model with the incorrect type set up)Changes to be made database.ts - change model rank.ts - comment out lines or sections of lines of code that use or include it
#ff0000
HIGH SEVERITY ISSUE that is causing the bot to break when the/rank
command is used. Was unnoticed during #10 the merging of revamp to main.Refer to #zbot-announcements for the latest updates while we're at it.