Did I find the right examples for you? yes no

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/b/o/botko-HEAD/src/logic.py   botko(Download)
import json
 
from plugins.nsfw_image_detector import NSFWImageDetectorPlugin
 
 
 
        # TODO: Proper plugin loading 'n stuff
        self.plugins = [NSFWImageDetectorPlugin(bot=bot)]
 
    def log_line_and_notify_on_repost(self, line, noRepost=False, channel=""):

src/b/o/botko-HEAD/tests/test_plugins.py   botko(Download)
from mock import Mock, patch
 
from plugins.nsfw_image_detector import NSFWImageDetectorPlugin
from tests import BasePluginTestCase
 
        super(NSFWImageDetectorPluginTestCase, self).setUp()
 
        self.plugin = NSFWImageDetectorPlugin(bot=self.bot)
        self.fixtures_dir = os.path.join(self.fixtures_dir, 'nsfw_plugin')