Coder Social home page Coder Social logo

dotaresponsesredditbot's People

Contributors

choldener avatar codacy-badger avatar jonarzz avatar judge2020 avatar maxbachmann avatar mepsyduck avatar sumeet-s-8313 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

dotaresponsesredditbot's Issues

Voice response should try to match OP's flair first

If possible to detect which flair the OP has, the Bot should try to find the responses within that hero's messages before, in case there is a duplicate message. Right now if that is the case, the first hero in alphabetical order will get its response sent instead.

Category link is possibly broken

CATEGORY = 'Lists of responses' in file /responses_wiki/dota_wiki_parser.py is possibly broken. The full API request doesn't work because of this. This could be the reason the bot doesn't respond for Grimstroke responses.

Original request: https://dota2.gamepedia.com/api.php?action=query&list=categorymembers&cmlimit=max&cmprop=title&format=json&cmtitle=Category:Lists_of_responses returns nothing.

Possible fix:
CATEGORY = 'Responses'
New request: https://dota2.gamepedia.com/api.php?action=query&list=categorymembers&cmlimit=max&cmprop=title&format=json&cmtitle=Category:Responses

Suggestion about sniper

So the other day I found a cool idea on Reddit came up with something absolutely brilliant. Make it so that the HO HO HA HA line has (Trigger warning: Sniper) instead of (Sound warning: Sniper). Could even have that on some other lines, but that's up to you. I wouldn't however advise you to have ALL the lines have a Trigger warning, because that would not be cool imo.

pls mr jonarz

Tests are missing or outdated

Tests should be added and/or updated to match the code as they are well outdated.

The tests would help to keep the code managable, would encourage refactoring (which is needed as well) and would make the code more understandable for others.

Run configuration as described in the Travis CI configuration file.

Links broken

Seems like because of Dota 2 wiki migration from gamepedia to fandom and because bot uses assets from wiki now links are broken.

For example this bot comment:
https://www.reddit.com/r/DotA2/comments/p9bsbx/when_the_drums_guy_gets_ya/h9wr5ox/?utm_source=reddit&utm_medium=web2x&context=3
leads to url
https://gamepedia.cursecdn.com/dota2_gamepedia/1/17/Snip_ability_shrapnel_03.mp3
where are error with code "AccessDenied".

Url for this asset from fandom looks like
https://static.wikia.nocookie.net/dota2_gamepedia/images/2/2f/Vo_sniper_snip_ability_shrapnel_03.mp3

Update Bot for new CM & Lina responses

The Bot currently does not react on the new voice lines that Lina & CM got from their respective mini-games.

It would be nice if that could be updated, thanks.

FIGHT ME meme

i humbly suggest adding "Puppey warning" or somesuch to the FIGHT ME quote

memes are dank

that is all

RIP Bot (Enhancement)

In memory of the lost r/dota2smut bot on r/dota2, please add "Thus I invoke Masturbation" to the keyword "r/dota2smut" or when someone says "One of my favorites!"

He left a legacy, it's now your time to continue it.

Thank you.

Wisp lines are wrong.

In responses_wiki\dota_wiki_parser.py, you have 'beep bop' and 'bop' as wisp responses. This should be 'beep boop' and 'boop'.

The bot is down due to server problems

There are some problems with the server on which the bot is running (I do not own it). If the problems are solved, the bot will continue it's normal cycle of running.

Sorry for the inconvenience.

Lots of audio file links don't work any more

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.