Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
a debugging and utility extension for discord.py bots
Read the documentation online.
jishaku is an extension for bot developers that enables rapid prototyping, experimentation, and debugging of features for bots.
One of jishaku's core philosophies is to be dynamic and easy-to-use. Here's the two step install:
- Download jishaku on the command line using pip:
pip install -U jishaku
- Load the extension in your bot code before it runs:
bot.load_extension('jishaku') # or await bot.load_extension('jishaku')
That's it!
You can also import the module to use the command development utilities.
>
|
_ctx | The Context that invoked the command. |
_bot | The running Bot instance. |
_author _channel _guild _me _message _msg |
Shortcuts for attributes on _ctx .
|
_find _get |
Shortcuts for discord.utils functions.
|
JISHAKU_NO_UNDERSCORE
environment variable to true
.
jishaku retain on
to change this behavior and retain variables, and jishaku retain off
if you change your mind later.
jishaku [dis|disassemble] <argument>
dis.dis
.
jishaku ast <argument>
>
The shell command executes commands within your system shell.
|
>
|
>
This command reads a file from your file system, automatically detecting encoding and (if applicable) highlighting.
|
>
|
If you'd like to test the latest versions of jishaku, you can do so by downloading from the git hosts instead of from PyPI.
From GitHub:
pip install -U "jishaku @ git+https://github.com/scarletcafe/jishaku@master"
From GitLab:
pip install -U "jishaku @ git+https://gitlab.com/scarletcafe/jishaku@master"
Please note that the new 2020 dependency resolver now no longer discounts git package sources from reinstall prevention, which means that if you are installing the jishaku development version multiple times within the same version target you may run into pip just discarding the update.
If you run into such a problem, you can force jishaku to be reinstalled like this:
From GitHub:
pip install -U --force-reinstall "jishaku @ git+https://github.com/scarletcafe/jishaku@master"
From GitLab:
pip install -U --force-reinstall "jishaku @ git+https://gitlab.com/scarletcafe/jishaku@master"
You must have installed jishaku with one of the commands above before doing this else you will probably end up with a broken installation.
The documentation and this README uses icons from the Material Design Icon library, which is licensed under the Apache License Version 2.0.
FAQs
A discord.py extension including useful tools for bot development and debugging.
We found that jishaku demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.