Cog-Creators / Cog-Board

Redirect: https://cogboard.red
12 stars 3 forks source link

League of Legends #6

Closed clovisd closed 7 years ago

clovisd commented 7 years ago

Fetch info about players, get build paths, etc.

Edit: Assigned to @QingyuChai -- Kowlin

Chovin commented 7 years ago

http://cogs.red/cogs/QingyuChai/RiceCogs/league/

^ is this not sufficient? I believe there was also a cog that got the map n added data to it as well.

clovisd commented 7 years ago

The League Cog is utterly useless. All it does is generate links to a website by adding your username at the end of an expression: na.op.gg/summoner/userName=(insert username here)

Adeft commented 7 years ago

Jumping on this. A cog that gives current info about the team/enemy %winrate rank etc. Top bans, counters.

Chovin commented 7 years ago

you'll be making the cog @Adeft ?

Adeft commented 7 years ago

No, jumping on. Like in supporting the idea. I dont think its to hard to make but i got no experience.

QingyuChai commented 7 years ago

I do agree that my league cog is kind of useless right now. I might add features requested features in the future if enough people want it.

QingyuChai commented 7 years ago

I can confirm that I am now working on a League Cog that is supported by the Riot Api. Fetching player info will definitely be possible, as well as match history. Getting build paths will be harder, but I'll see what I can do. @Chovin, could you assign this to me?

Kowlin commented 7 years ago

Why u no edit original comment @palmtree5 >:(

clovisd commented 7 years ago

Woo! Thanks for doing this @QingyuChai ! :)

I know of a couple bots out there that might be useful for inspiration (features, commands, etc). Here are the one's I've been using:

  1. https://github.com/Gravebot/Gravebot (GraveBot) see League Of Legends section.
  2. https://www.reddit.com/r/leagueoflegends/comments/4pd5zr/discrank_a_discord_chat_bot/ (Discrank) has some interesting stat displays (text based tables, etc).
QingyuChai commented 7 years ago

@clovisd Could you add FwiedWice#2789 on Discord? Would be easier for me to know what you are looking for.

QingyuChai commented 7 years ago

Hello @clovisd! I have a version available that works as intended, just not as fast as intended. Because of a rate limit on API requests you can make to Riot Games, it might take a while to generate match info, and in that time the bot does not respond to other commands. Also, you are required to get an API key from both Riot Games and Champion.gg

You can choose what key you use on your bot with [p]leagueset

You can find the cog here

Again, only getting the current match info will lag out the bot. Other commands are fine.

For further suggestions/ideas/thoughts/anything please visit this link.

clovisd commented 7 years ago

Great! Thanks :)