errbot


Errbot: How can I import one plugin from another


In this case I have a simple JIRA plugin, I'd like to create another plugin that also interacts with JIRA via the first plugin. I have been trying variations of errbot.plugin_manager.get_plugin_obj_by_name('jira') but I haven't found the right way to do this.
You are in luck, it just got implemented in the 4.3.0 version released yesterday:
Basically you need to declare the dependency in the .plug with DependsOn in the [Core] section then you can get the plugin object you depend on with self.get_plugin('pluginName').
https://github.com/errbotio/errbot/blob/master/docs/user_guide/plugin_development/dependencies.rst

Related Links

How to use Errbot across multiple evironments?
How can I get user's #mentionname knowing it's XMPPIdentifier from my errbot plugin?
Disable errbot cert verification
Using collapsed cards in Slack with Errbot
Stop processing message after match in Errbot
Inheritance with BotPlugin
Slack backend: is it possible to detect an edit?
Yield from dependency plugin?
Slack Cannot find user with ID
Slack chatPostMessage fails
Errbot: How can I access config file variables
Errbot: How can I import one plugin from another

Categories

HOME
windows
google-app-engine
mysql-workbench
r-googlesheets
google-cloud-functions
edge
rom
emscripten
onclick
ado.net
maxscript
extjs4.2
p2p
pcl-crypto
dkim
stellar.js
radgridview
screen-readers
red5
google-data-studio
git-extensions
gmm
charles
mongoid6
tosca
definitelytyped
moses
flooding
delimiter
soot
rpgle
failover
corenlp-server
custom-controls
eviews
recurring-events
mockjax
sql-server-2000
testbed
glib
simplecv
dsx-desktop
login-script
twos-complement
carriage-return
sharding
html-encode
mnist
latitude-longitude
release
apache-stanbol
azure-arm
postgresql-8.4
vaadin-charts
dynamic-linq
ntvs
serde
dotnet-httpclient
posixct
google-cse
pair-programming
video-conferencing
semantic-logging
spring-data-couchbase
headless
pdf-conversion
janus
lsyncd
gpg-signature
centrifuge
jodd
cifilter
cortex-m
vhosts
java-money
fuelcms
text-search
jsvc
linked-tables
fits
adehabitathr
infosphere-spl
at-job
iiop
ssis-data-flow
big-ip
build-script
cancellation
matrix-inverse
jjaql
draw2d-js
accesscontrolexception
windows-phone-8-sdk
dtmf
oocss
onload-event
cardreader
android-loadermanager
onmousemove
xcode3.2
fusefabric
httponly
relative
landscape-portrait
umra
event-receiver
objective-j
updatesourcetrigger
rowlex
scrollbars
strtod
scrubyt
application-planning
product-management
xslcompiledtransform

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App