-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
26 lines (22 loc) · 747 Bytes
/
__init__.py
File metadata and controls
26 lines (22 loc) · 747 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
"""
Auto Buddy Plugin for Nicotine+
Automatically adds users as buddies when they send private messages.
Anti-slskd strategy: since slskd can't chat, only real users get buddy access.
"""
# Import the main plugin class - avoid relative imports for Nicotine+ compatibility
try:
# Try importing from the module directly
from auto_buddy import Plugin
except ImportError:
# Fallback to importing from current package
import sys
import os
current_dir = os.path.dirname(__file__)
sys.path.insert(0, current_dir)
from auto_buddy import Plugin
# Plugin metadata
__version__ = "1.0.0"
__author__ = "DreadHeadHippy"
__description__ = "Auto Buddy"
# Expose the Plugin class for Nicotine+ to discover
__all__ = ['Plugin']