SkullGaming31 / OpenDevBot

Twitch Chatbot using Twurple
MIT License
5 stars 0 forks source link

🐛 Heist Command #29

Closed SkullGaming31 closed 4 months ago

SkullGaming31 commented 6 months ago

a user is still able to run the heist command even though there is injury data present in the json file

28

Updated ParticipantData: { canadiendragon: { injuries: [ [Object] ] } }
CanadienDragon Said: injury assigned in canadiendragon, Time: 5/16/2024, 07:54:02 AM
CanadienDragon Said: !heist 500 luxury casino in canadiendragon, Time: 5/16/2024, 07:54:05 AM
injuryData(user):  [
  {
    severity: 'minor',
    duration: 60,
    description: 'twisted an ankle while jumping over a fence'
  }
]
User Injuries: undefined
Number of Injuries: undefined
User has an injury.
User: canadiendragon
Participant Data: { canadiendragon: { injuries: [ [Object] ] } }
Participant Data for User: {
  injuries: [
    {
      severity: 'minor',
      duration: 60,
      description: 'twisted an ankle while jumping over a fence'
    }
  ]
}
Injuries: [
  {
    severity: 'minor',
    duration: 60,
    description: 'twisted an ankle while jumping over a fence'
  }
]
SkullGaming31 commented 6 months ago

Wait time(1 minute, 5 minutes, 15 minutes) 1 minute works, 15 minutes doesnt after 1 minute your able to use the command again