4815162342lost / steam_gifts_bot

bot for http://www.steamgifts.com/
GNU General Public License v3.0
32 stars 6 forks source link

Add group to the bot #7

Closed guilherme-sr closed 6 years ago

guilherme-sr commented 6 years ago

Simple changes, I think some people consider good to have groups added...

4815162342lost commented 6 years ago

Thanks a lot!

But one remark: I think that wishlist and search list should be more priority than group giveaways.

So, i changed

if settings_list["group"]:
        func_list.append("group")
if settings_list["wishlist"]:
        func_list.append("wishlist")
    if settings_list["search_list"]:
        func_list.append("search")

to

if settings_list["wishlist"]:
        func_list.append("wishlist")
    if settings_list["search_list"]:
        func_list.append("search")
    if settings_list["group"]:
        func_list.append("group")

And changed 'if req_type=="group":' to 'elif req_type=="group":'

Thanks again for you commit. Have a nice day!

guilherme-sr commented 6 years ago

Yes, totally agree with you, I'm new here at github and made that so fast.