Giter Club home page Giter Club logo

hltvdiscordbridge's People

Contributors

drachenfalke12 avatar officiallahusa avatar revilum avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

hltvdiscordbridge's Issues

improve !ranking

  • show the ranking changes compared to last week next to the name of the team.

overview of the nodejs api

  • /ranking/country
  • /ranking/day(number)/month(word)/year(number)
  • /ranking
  • /matches
  • /results
  • /player/name
  • /playerstats/id
  • /playerranking/startdate/enddate
  • /upcomingevents
  • /ongoingevents
  • /event/id gives info about a sepcific event
  • /match/id gives info about a match
  • /matchstats/id gives stats about a match
  • /matchmapstats/id gives stats about a specific map in a match
  • /streams gives a list of current csgo stream (not needed as /match/matchid gives a streamlink too)
  • /team/id gives achievments of a team
  • /teamstats/id/currentroster(true/false) gives stats of a team
  • /teamstats/id/currentroster(true/false)/startdate/date gives stats of a teamwith a startdate
  • /teamstats/id/currentroster(true/false)/enddate/date gives stats of a team with enddate
  • /teamstats/id/currentroster(true/false)/timeframe/startdate/enddate gives stats of a teamin a specific timeframe

compatabillity with v3 of the api

  • change results to GetMatchesStats see here for an example. The new result page will not return a number of games but all game from today and yesterday
  • fix !ongoingevents as all ongoingevents are now here including all upcoming events.
  • fix the spamming of random events starting/finishing which should be easier with the new system of getting events. As the give time for the end of an event is only an approximation. We should also see if the current time is near the given dateEnd and has appeared here.
  • improve upcoming !team As the API now supports 6-man roasters and players/coaches contracted to the org in general, we should include that as well in the upcoming teamcards. Examples can be found here
  • fix stats for results. I don't really know why it's broken but here is an example for a match with a six-man roaster which was broken even before everything else broke. Be aware that the id of a match is different from the id of the matchstats.
  • fix upcoming matches

right now https://hltv-api.revilum.com/api is using v3.1.0 of the HLTV API while https://hltv-api-steel.vercel.app still uses v2.25.3. When the bot fully supports v3, I'll shut down https://hltv-api.revilum.com/api for performance reasons.

!ranking bugged

!ranking North America returns Object reference not set to an instance of an object. in the server console.

cache live matches

  • cache match when status turns live
  • delete cache file when status turns match over

improve !upcomingevents

  • !upcomingevents should give information about events in the next 30 days and not this month.

implement events

  • automatically send event in channel when it starts(/ongoingevents) (optional a command to see all ongoing events)
  • when event is finished send in channel who won and the standings of the competing teams (/event/id)(optional: add command to select a specific event)
  • implement upcomming events (/upcommingevents)
  • cache events

implement live matches

  • create a socket.io client that interacts with the hltv score board.
  • find a design for a pretty killfeed.
  • one socket.io client should be used for one match and not for one server.

Bot Occasionally Double/Triple Posts Same Post

Dear developer,

Thank you for creating the bot. I'm running a small discord server to try to develop amateur talent in North America. I use your bot in a dedicated pro-matches channel for members to have easy access to everything involved in the professional scene.

I'm having an issue where the bot sometimes double posts the same content, typically ~20-30 minutes apart. If there is some setting I am missing please let me know. Again, thank you for your time and work.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.