Skip to content
This repository has been archived by the owner on Mar 26, 2020. It is now read-only.

Steam Games Listing #10

Open
2 tasks
LucaVazz opened this issue Jul 14, 2017 · 6 comments
Open
2 tasks

Steam Games Listing #10

LucaVazz opened this issue Jul 14, 2017 · 6 comments

Comments

@LucaVazz
Copy link

LucaVazz commented Jul 14, 2017

Inspired by
image

If a user has their Steam Account linked to their Discord Account, they have their Steam ID / Username shown in their Profile.
But to get to the list of the games in their library it needs some clicks. Especially if you would want to compare it across multiple users.

Lets shrink it down to one command ;)

suggested Commands

  • steamgames @LucaVazz: sends a listing of all steam games which the mentioned user has in their library. (Ignoring Mentions which come after the first one for clarity)
  • commonsteamgames @LucaVazz: sends a listing of all steam games which all the mentioned users and the sender of the message have in their library.

Ressources

  • Discord API: .../users/<userId>/profile returns something like
    {
        ...,
        "connected_accounts":  [
                { "verified": true, "type": "steam", "id": "76561193788269995", "name": "LVreg" }
        ]
    }
    • discord.py has a http client which is instanced on self.bot.http and handles all the nitty gritty of the Discord API (i.e. Authentication) automatically
  • Steam Web API: Documentation for GetOwnedGames
@safaci2000
Copy link

we should try to do subcommands. IMO. something like

!n.steam games
!n.steam commongames @LucaVazz @Yamitatsu @Squirrel

But I like the idea. even better would be rather then tagging everyone

!n.steam commongames @lfg

since people tag as that in theory when they wanna play games.

@LucaVazz
Copy link
Author

LucaVazz commented Jul 14, 2017

Subcommands sound like a good Idea, didn't think of that.

And for !n.steam commongames @lfg (or in general if a group is mentioned) a separate output would probably be best with a statistic like

- Factorio (40 members)
- Rocket League (35 members)
- Dota 2 (24 members)

And maybe alias it as something like !n.steam lfggames

@safaci2000
Copy link

or have a different command completely.

!n.steam rolecommongames lfg

or

!n.steam rolecommon lfg

? Something like that.

@LucaVazz
Copy link
Author

I think it is a better UX if there is just one command to which you can pass any mentions (i.e. both roles and single members) and the bot resolved it for you.

@safaci2000
Copy link

Either is fine. Just pointing out options. But I agree it'd be nice to have feature.

@LucaVazz
Copy link
Author

Nice to hear, then I will start working on it next week.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants