AndyReifman / ArseneWenger

1 stars 12 forks source link

Add more teams for !goals command #68

Closed FelixRandle closed 2 years ago

FelixRandle commented 2 years ago

Currently the !goals command only supports Arsenal, Chelsea and Spurs because I'm lazy,

Need to update here to include more team IDs, can be retrieved by finding the team's URL on fbref like below

https://fbref.com/en/squads/19538871/Manchester-United-Stats

Key in dictionary is the value the user will type in, numbers in the URL is the value. Ensure that the key is all lowercase.

Adding in Man U would make it look something like below.

        self.CLUB_ID_TRANSLATIONS = {
            'arsenal': '18bb7c10',
            'chelsea': 'cff3d9bb',
            'spurs': '361ca564',
            'man united': '19538871'
        }
github-actions[bot] commented 2 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.