Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.