-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
A-BotArea: Bot, i.e: Related to the botArea: Bot, i.e: Related to the botC-BugCategory: This issue is a confirmed bugCategory: This issue is a confirmed bugE-ProductionEnvironment: ProductionEnvironment: ProductionF-PetsFeature: PetsFeature: Pets
Description
π Reproduction steps
Have no pet (due to starting the game before Pet Rock was introduced, and never catching one). Then run /adv
π Expected behavior
Either a level 0 Pet Rock should be granted automatically upon realizing no pet exists, or /adv should account for the possibility of having no pet and not throwing errors.
π Actual Behavior
An error is thrown and /adv fails.
π₯ Error message
TypeError: Cannot read properties of undefined (reading 'disabled')
at Adv.run (/bin/src/SlashCommands/Commands/Adv/Adv.ts:426:21)
at originalCommandRunner (/bin/src/Bot.ts:121:18)π² DRPG version
4.18.50
π Have you spent some time to check if this issue has been raised before?
- I checked and didn't find similar issue
π Additional context
Reported by <@183178712181637120> (vince321 / Euki) in <#1419089189152231595> (rpg-support > doing /adv but error shows.)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-BotArea: Bot, i.e: Related to the botArea: Bot, i.e: Related to the botC-BugCategory: This issue is a confirmed bugCategory: This issue is a confirmed bugE-ProductionEnvironment: ProductionEnvironment: ProductionF-PetsFeature: PetsFeature: Pets