sylphia-nox / Discord-Bot

Discord Bot to coordinate Destiny 2 raids and provide additional utilities for users to assist them in Destiny 2. This project is written in Python and makes use of MySQL, Discord.py, and the Bungie APIs
3 stars 0 forks source link

Added optional platform argument and made code more pytonic #56

Closed sylphia-nox closed 4 years ago

sylphia-nox commented 4 years ago

Enhanced ~power and ~next_power commands to take optional argument for platform used to search for name (1 = PSN, 2 = xbox, 3 = steam 4 = stadia?) Made for loops more pythonic by using enumerate() instead of range(len()) Fixed issue with ~get_member command where it was failing if the user was a cross-save account that was not originally a steam account.