callistoteam / schoolbot

A discord bot that informs the school's academic calendar, timetable, and meals in Korea(대한민국 학교의 급식, 학사일정, 시간표를 알려주는 디스코드 봇)
GNU Affero General Public License v3.0
9 stars 3 forks source link

chore(deps): bump jishaku from 1.20.0.220 to 2.2.0 #160

Open dependabot[bot] opened 3 years ago

dependabot[bot] commented 3 years ago

Bumps jishaku from 1.20.0.220 to 2.2.0.

Release notes

Sourced from jishaku's releases.

jishaku 2.2.0

https://pypi.org/project/jishaku/2.2.0/ https://github.com/Gorialis/jishaku/tree/2.2.0 https://jishaku.readthedocs.io/en/latest/whatsnew.html#version-2-2-0

It is advised that you install jishaku directly through the pip package manager.

Install the latest version of jishaku:

pip install -U jishaku

Install specifically this version of jishaku (not recommended):

pip install -U jishaku==2.2.0

Artifacts are included with this release for debugging convenience.

jishaku 2.1.0

https://pypi.org/project/jishaku/2.1.0/ https://github.com/Gorialis/jishaku/tree/2.1.0 https://jishaku.readthedocs.io/en/latest/whatsnew.html#version-2-1-0

It is advised that you install jishaku directly through the pip package manager.

Install the latest version of jishaku:

pip install -U jishaku

Install specifically this version of jishaku (not recommended):

pip install -U jishaku==2.1.0

Artifacts are included with this release for debugging convenience.

jishaku 2.0.0

https://pypi.org/project/jishaku/2.0.0/ https://github.com/Gorialis/jishaku/tree/2.0.0 https://jishaku.readthedocs.io/en/latest/whatsnew.html#version-2-0-0

It is advised that you install jishaku directly through the pip package manager.

Install the latest version of jishaku:

pip install -U jishaku

... (truncated)

Changelog

Sourced from jishaku's changelog.

Version 2.2.0

The jsk sudo, jsk su and jsk in commands have been removed and replaced with a single command that handles all three at once.

jsk exec now automatically handles IDs or mentions for channels, users, or threads (only with discord v2.0a+). Aliases with a postfix ! bypass checks and cooldowns, like jsk sudo used to do.

Example of how the commands change with this release:

  • jsk su @user command -> jsk exec @user command
  • jsk in #channel command -> jsk exec #channel command
  • jsk in #channel jsk su @user command -> jsk exec #channel @user command or jsk exec @user #channel command
  • jsk sudo command -> jsk exec! command

This allows combinations that were previously not possible, for example, jsk exec! #channel @user command now executes a command as a user in another channel or thread, bypassing any checks or cooldowns that user or channel has against the command.

The flag system (i.e. the JISHAKU_FLAG=... system) has been rewritten to use various degrees of lazy evaluation. This means setting flags like JISHAKU_HIDE and JISHAKU_RETAIN need only precede loading the Jishaku extension, as opposed to the entire module.

Flags that only evaluated at command runtime will now have their changes take effect immediately. For example, executing os.environ['JISHAKU_NO_UNDERSCORE'] = '1' no longer requires a reload to take effect.

A programmatic interface for flags is available, however, its use is discouraged except in subclass initialization, due to the fact that the changes will NOT persist across reloads of the extension.

.. code:: python3

jishaku.Flags.NO_UNDERSCORE = True

The jsk invite command has been added, which is a developer convenience command that supplies the invite link for the bot it is ran on. This command is most useful for bots that predate the behavior change that merged bot and application IDs, saving the time of having to retrieve the application ID yourself.

Permissions can be supplied, e.g., jsk invite kick_members manage_messages will create an invite requesting those two permissions.

The invites produced request slash commands for convenience.

Some regressions have been fixed and other internal cleanup has been addressed in this release.

Version 2.1.0

A new implementation of PaginatorInterface has been created using Discord's interaction buttons system. It is available when using discord.py 2.0.0 or greater (currently alpha).

Jishaku will now avoid uploading files either when detecting the author is on mobile or through an explicit JISHAKU_FORCE_PAGINATOR switch. This is to better support mobile platforms that do not have inline file previews yet. (PR [#111](https://github.com/Gorialis/jishaku/issues/111) <https://github.com/Gorialis/jishaku/pull/111>_).

Humanize has been removed as a dependency. Selftest now uses Discord's own relative timestamp formatting markdown extension for timing, and pretty printing of memory usage has been implemented within the Feature itself.

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)