Open gnmiller opened 1 year ago
simple possible fix is to make get_selection()
return something more sensible if an int is not passed as the arg
i exceeded my quota testing today main issue appears to be add_search() is executing the list.append() multiple times once a search has started.Same issue across guilds as well as channels within the same guild.
ex serv1: $yt some search -> correctly added to guild's search array serv2: $yt another search -> added TWICE to the array
same behavior within same server, and using two channels, the second search is duplicated into the array
If a user prompts the bot multiple times with !yt in a row without explicitly selecting a result each time the bot will happily continue to spit out YouTube searches. Expected functionality is that each user should only be able to execute one search per channel per guild.