bugguppy - Bugs: bug #293, Stop manually checking for command...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #293: Stop manually checking for command names

Submitted by:  Svetlana Tkachenko <svetlana>
Submitted on:  Sat 23 Apr 2016 06:35:06 AM EEST  
 
Category: corePriority: 5 - Normal
Severity: 5 - NormalStatus: None
Privacy: PublicPercent Complete: 0%
Assigned to: NoneOpen/Closed: Open
Planned Release: None

Sat 23 Apr 2016 06:35:06 AM EEST, original submission:

If a plugin does a few things, we need to be able to put it into pluginname/ directory and do these things in different files.

Instead of

handle_command(...) {if cmd=='op' : .... ; if cmd == 'deop' : ...},

create plugins/pluginname/op.py and plugins/pluginname/deop.py, and have handle_command(...) {...} in each. Shared subroutines can still stay in plugins/pluginname.py

Svetlana Tkachenko <svetlana>
Project Administrator

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by svetlana (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray