Contraversum / ContraBot

Discord Bot for Contraversum
1 stars 0 forks source link

Avoid increasing currentQuestion value on '/test' #82

Open johan-t opened 1 year ago

johan-t commented 1 year ago

The issue is that when a user types '/test' their currentQuestion value is increased meaning that if they increased it that way they will have a null value in their userVector which makes it impossible to match them. Instead we should reset the currentQuestionIndex when a user calls '/test'