Update Extension
Update an installed extension to the latest version.
Syntax
Arguments
| Argument | Type | Description |
|---|---|---|
package_name |
Required | Name of the package to update |
Behavior
- Pulls latest version from git repository
- Reinstalls using pip with
--force-reinstall - Shows update status
Examples
Update a Package
Output
Successful Update
✅ Extension Updated
Successfully updated `ballsdex_merchant_package`
Action Required:
Restart the bot to apply updates.
Package Not Found
Update Failed
Notes
- Always restart bot after updating
- Updates pull from the same URL used during installation
- Use
m.dexadmin extension listto find package names
Best Practices
- Check for updates regularly - Keep packages up to date
- Test in development first - Try updates on test bot
- Restart after updating - Required for changes to take effect
See Also
- Add Extension - Install packages
- Remove Extension - Uninstall packages
- List Extensions - View installed packages