GCCempt / GCC_OpenSong_bot

We were lazy and didn't want to do things by hand so instead we spent hundreds of manhours automating it. classic.
http://gccpraise.com/
2 stars 0 forks source link

/displayset behavior is wonky and inconsistent #105

Closed dan4222 closed 3 years ago

AllDayJon commented 3 years ago

@dan4222 can you provide any additional info on this?

dan4222 commented 3 years ago

The set expansion that is supposed to occur when there is only one possible set to return doesn't happen. Display Set command sometimes returns the wrong set when specifying a set name.

Infosecguy10 commented 3 years ago

Resolved. Changes: modify mydiscord.py() - slash /display-set function to include set summary

Fixed the /display-set issue where only the most current set was being display. The set name was being overwritten with a default setting

Issue; Display set looks up set on the website but to build the summary it looks locally so there could be a mismatch; Changed process: if there the set is not found in the local sets directory, it is downloaded from the website in order to build the summaryh

Infosecguy10 commented 3 years ago

Also, added set display after the set is built along with the set summary