Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hashworks/vikingbot-repostcheck-plugin
A VikingBot plugin which checks for reposts of urls and credits the original poster.
https://github.com/hashworks/vikingbot-repostcheck-plugin
Last synced: about 1 month ago
JSON representation
A VikingBot plugin which checks for reposts of urls and credits the original poster.
- Host: GitHub
- URL: https://github.com/hashworks/vikingbot-repostcheck-plugin
- Owner: hashworks
- License: gpl-3.0
- Created: 2014-12-22T16:25:05.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-12-27T22:36:43.000Z (almost 10 years ago)
- Last Synced: 2024-10-19T22:48:44.686Z (2 months ago)
- Language: PHP
- Size: 273 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
VikingBot-RepostCheck-Plugin
============================A VikingBot plugin which checks for reposts of urls and credits the original poster.
You just need to set the hosts to check for in your config, f.e.:
```
$config['plugins']['repostCheck']['hostsToCheck'] = array(
"img.pr0gramm.com",
"full.pr0gramm.com",
"imgur.com",
"gfycat.com"
);
```That's it!
Here is an example of the plugin in action:
```
<%hashworks> http://i.imgur.com/2kFWmiR.jpg
<+goodguy> <%hashworks> http://i.imgur.com/2kFWmiR.jpg <-- Nice!
<+badguy> Hey guys, check this out: http://i.imgur.com/2kFWmiR.jpg
<+VikingBot> I smell repost! This was posted by hashworks 7 minutes ago!
```
As you can see the one giving credit doesn't trigger VikingBot.