Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some New Features #48

Closed
ZacharyDuBois opened this issue Jul 27, 2014 · 4 comments
Closed

Some New Features #48

ZacharyDuBois opened this issue Jul 27, 2014 · 4 comments

Comments

@ZacharyDuBois
Copy link

Add some features that a python bot called 'Willie' has.

He can be found here: embolalia/willie on Github.

Some of the convenient features:

  • Set a default location (Used for weather, etc) on a nick-by-nick basis.
  • Exclude a regex for URLs.
  • Add a URL title feature.
  • Server password/user support.
  • Just some of the other general features that Willie has to make the channel fun (Slap, roulette, etc [I might code those and add them in :) ]).

Thanks for the bot :P

@kamaln7
Copy link
Member

kamaln7 commented Jul 27, 2014

Thanks

Set a default location (Used for weather, etc) on a nick-by-nick basis.

#49

Exclude a regex for URLs.

What do you mean?

Add a URL title feature.

axxim/url: https://github.com/modubot/modubot.js/tree/master/src/plugins/axxim/url

Just some of the other general features that Willie has to make the channel fun (Slap, roulette, etc [I might code those and add them in :) ]).

Go ahead, it shouldn't be too hard, they seem pretty simple :)

@kamaln7 kamaln7 closed this as completed Jul 27, 2014
@ZacharyDuBois
Copy link
Author

For the regex exclusions for URLs, anything that matches a regular expression, it won't get the URL or send the title. Example: This python regex will exclude everything but the YouTube domains (We used this on Willie because of the lack of options) ^(?!(http\:\/\/|https://)(www\.|)(youtube\.com|youtu\.be).*).*.

I will work on some games after I get through my TODO.md sitting on my desktop :P

@kamaln7
Copy link
Member

kamaln7 commented Jul 29, 2014

axxim/url posts the title of all URLs, and kamaln7/youtube parses YouTube URLs. I think I can disable matching YouTube URLs in axxim/url if kamaln7/youtube is loaded. #51

@ZacharyDuBois
Copy link
Author

No that was just an example of what URL excludes would be like. So, that regex could be anything to prevent certain URLs to be parsed.

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

No branches or pull requests

2 participants