#dev-log

1 messages · Page 65 of 1

regal archBOT
odd spireBOT
regal archBOT
oak estuaryBOT
odd spireBOT
regal archBOT
odd spireBOT
oak estuaryBOT
odd spireBOT
regal archBOT
#
[python-discord/forms-backend] branch deleted: dependabot/pip/starlette\-0\.14\.2
odd spireBOT
oak estuaryBOT
regal archBOT
oak estuaryBOT
regal archBOT
regal archBOT
#
jb3
[python-discord/snekbox] New branch created: dynamic\-parent\-cgroups
#
jb3

For some reason, when two memory intensive tasks were running in parallel, even while in child cgroups, the parent cgroup memory limit was tripping and sending an OOM kill to the child processes, even if theses processes were behaving reasonably under the 50MB limit. This issue is shown #83.

This PR resolves that by dynamically creating the parent cgroups which nsjail templates off, assigning them a random UUID name, prefixed by snekbox for clarity.

In testing I could not encounter the ...

regal archBOT
night lilyBOT
#
Sir Lancebot

Connected!

regal archBOT
odd spireBOT
regal archBOT
regal archBOT
odd spireBOT
night lilyBOT
#
Sir Lancebot

Connected!

regal archBOT
regal archBOT
regal archBOT
#
[python-discord/snekbox] New branch created: feat/env/73/py\-scripts
regal archBOT
#

Closes #73

dev.sh is now docker.py and has the following CLI:

root

usage: docker.py [-h] {start,exec} ...

Utils for managing a snekbox container during development.

optional arguments:
  -h, --help    show this help message and exit

subcommands:
  Available actions to perform.

  {start,exec}
    start       create and run a snekbox container
    exec        execute a bash command within a snekbox container

exec

usage: docker.py exec [-h] ...
regal archBOT
#
[python-discord/forms-frontend] New branch created: dependabot/npm\_and\_yarn/webpack\-5\.20\.1
#

Bumps webpack from 5.20.0 to 5.20.1.

Release notes
Sourced from webpack's releases.

v5.20.1
Bugfix

fix Caching failed for pack: RangeError [ERR_OUT_OF_RANGE] warning when serializing the cache

Commits

82edd91 5.20.1
1f8a750 Merge pull request #12573 from webpack/dependabot/npm_and_yarn/babel/core-7.1...
bcf160f Merge pull request #12576 from webpack/bugfix/binary-middleware-oor
29d957d fix allocation sizes
a4d1f7c improve BinaryMiddleware test cas...

#
[python-discord/forms-frontend] New branch created: dependabot/npm\_and\_yarn/html\-webpack\-plugin\-5\.0\.0
#

Bumps html-webpack-plugin from 4.5.1 to 5.0.0.

Changelog
Sourced from html-webpack-plugin's changelog.

5.0.0 (2021-02-03)
⚠ BREAKING CHANGES

Drop support for webpack 4 and node <= 10 - For older webpack or node versions please use html-webpack-plugin 4.x
Entry javascript resources are now beeing loaded deferred in the <head> tag to improve the page load performance by default - You can set the scriptLoading option to 'blocking' to...

#
[python-discord/forms-frontend] New branch created: dependabot/npm\_and\_yarn/types/node\-14\.14\.24
regal archBOT
#
[python-discord/forms-backend] New branch created: dependabot/pip/motor\-2\.3\.1
#

Bumps motor from 2.3.0 to 2.3.1.

Changelog
Sourced from motor's changelog.

Motor 2.3.1
Motor 2.3.1 fixes two bugs related to change streams.
Bug-fixes:

The :meth:motor.motor_asyncio.AsyncIOMotorCollection.watch,
:meth:motor.motor_asyncio.AsyncIOMotorDatabase.watch, and
:meth:motor.motor_asyncio.AsyncIOMotorClient.watch methods now properly
support passing :class:~motor.motor_asyncio.AsyncIOMotorClientSession via
the session argument.
Avoid exhausting Mot...

odd spireBOT
regal archBOT
#
description = ("**Result Of cht.sh**\n"
               f"```python\n{body_text[:body_space]}\n"
               "... (truncated - too many lines)```\n"
               f"Full results: {url} "
            )

This would look neater than the \ escaping of the string I think. Also, if you do change this, please change it for the next description variable also. (Also, the formatting isn't very good in this so please fix it when you change it)

odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
regal archBOT
#

Description

After discord introduced the intents system, sir-lancebot no longer has access to the list of members for a role. This has led to a weird situation with some of the commands in the lovefest cog, as they relied on fetching members for a given role.

Steps to Reproduce

(Make sure your bot does not have the members intent enabled)

  1. Sign up for the lovefest role.
  2. Try to use one of the commands that rely on fetching members, such as .bemyvalentine with no argu...
regal archBOT
#

Relevant Issues

Closes #574

Description

  • Removes random selection of members who have love fest role which was causing a caching problem since we don't have intents.members = True
  • Again caused due to intents, the bot was not able to find the user on DMChannel, so i changed it to be passed through the sir-lancebot-commands channel and deletes the their message. Rest it acts similarly, sending the errors/confirmation messages in DMs and sending the valentine message in DMs...
odd spireBOT
regal archBOT
#

Description

The Bot should skip when a message is sent to it on DMs since it is checking for the category and the DMChannel has no category.

    message.channel.category.id in WHITELISTED_CATEGORIES
AttributeError: 'DMChannel' object has no attribute 'category'

Steps to Reproduce

Send a DM message to your test bot, and check your terminal.

Behaviour

Should ignore the message which isn't being done currently,

Possible Solutions

if isinstance...
regal archBOT
regal archBOT
regal archBOT
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
#
[python-discord/bot] New branch created: dynamic\-available\-help\-channels
#

Users sometimes get confused on which channels are available for them to claim.

With this PR, a message in the #how-to-get-help channel will be edited to reflect which channels are currently available.

If the bot cannot edit the most recent message in the #how-to-get-help channel, then it knows it's trying to edit the webhook message that contains the guide for claiming a channel. It will send the dynamic message if this occurs.

If we do decide to remove or add more channels in the `...

odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
#
[python-discord/snekbox] branch deleted: feat/env/73/py\-scripts
odd spireBOT
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
odd spireBOT
regal archBOT
#
[python-discord/snekbox] New branch created: bug/tests/nsjail
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#
[python-discord/forms-frontend] New branch created: dependabot/npm\_and\_yarn/webpack\-5\.20\.2
#

Bumps webpack from 5.20.0 to 5.20.2.

Release notes
Sourced from webpack's releases.

v5.20.2
Bugfixes

fix caching issue with asset modules causing undefined files
fix problem that rebuildModule doesn't follow dependencies

v5.20.1
Bugfix

fix Caching failed for pack: RangeError [ERR_OUT_OF_RANGE] warning when serializing the cache

Commits

f5a2637 5.20.2
2acc6c4 Merge pull request #12591 from webpack/bugfix/asset-modules-caching-crash
5723110 fix me...

#
[python-discord/forms-frontend] branch deleted: dependabot/npm\_and\_yarn/webpack\-5\.20\.1
#
[python-discord/forms-frontend] New branch created: dependabot/npm\_and\_yarn/sentry/react\-6\.1\.0
#

Bumps @sentry/react from 6.0.4 to 6.1.0.

Release notes
Sourced from @sentry/react's releases.

6.1.0
We updated the way how we calculate errored and crashed sessions with this update. Please be aware that some numbers might change for you and they now should reflect the actual reality. Visit our docs for more information.

[browser] feat: Rework how we track sessions (#3224)
[hub] ref: Simplify getting hub from active domain (#3227)
[core] re...

#
[python-discord/forms-frontend] New branch created: dependabot/npm\_and\_yarn/types/node\-14\.14\.25
#
[python-discord/forms-frontend] branch deleted: dependabot/npm\_and\_yarn/types/node\-14\.14\.24
regal archBOT
odd spireBOT
night lilyBOT
#
Sir Lancebot

Connected!

odd spireBOT
regal archBOT
regal archBOT
#
[python-discord/bot] New branch created: feat/1280/deleted\-jumplink
odd spireBOT
regal archBOT
#
[python-discord/bot] branch deleted: feat/1280/deleted\-jumplink
oak estuaryBOT
odd spireBOT
regal archBOT
regal archBOT
#

discord.Forbidden is raised when the bot tries to DM a user, but they have DMs disabled.
In this case, the person the bot was trying to send the valentine to had DMs disabled.

I this case though, removing the author from this changes it so that the bot does contact the author of the command via DM. If this was your intention, I think we should remove the other ctx.author.send too, or wrap those in discord.Forbidden try/except blocks too.

odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#
[python-discord/bot] New branch created: bug/1371/moderation\-check
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
#

Relevant Issues

Closes #576

Description

I've made sure that anywhere with an on_message listener properly deals with messages from within DMs. This has been done by checking if message.guild is truethy, if so, its in a guild.

i found these by searching for on_message and running .help in a DM to see if anything raised an error.

Reasoning

This first pass just makes the bot ignore messages from DMs that were causing errors to be thrown.

Screenshots

Fo...

odd spireBOT
regal archBOT
#

Even if it is the correct term, I am also of the mindset that we use python keywords. The tags in my opinion are by no means an extensive resource, but more of a quick overview to explain a concept, and set someone on the right path of looking into it.

The source you included uses object. If someone is interested in learning more about JSON, they can follow that and learn more. It does not make sense to have it that far removed from python though when the original question is probably in...

#

Even if it is the correct term, I am also of the mindset that we use python keywords. The tags in my opinion are by no means an extensive resource, but more of a quick overview to explain a concept, and set someone on the right path of looking into it.

The source you included uses object. If someone is interested in learning more about JSON, they can follow that and learn more. It does not make sense to have it that far removed from python though when the original question is proba...

odd spireBOT
regal archBOT
#
[python-discord/forms-frontend] New branch created: cleanup\-depends
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
oak estuaryBOT
regal archBOT
odd spireBOT
regal archBOT
#
[python-discord/bot] New branch created: ks123/watchlist\-trigger\-reason
odd spireBOT
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#
[python-discord/bot] New branch created: ks123/discord\-py\-local\-file\-tag
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#
[python-discord/bot] New branch created: ks123/duplicates\-ignore\-attachments
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
regal archBOT
#
[python-discord/bot] New branch created: swfarnsworth/tag\_messages
odd spireBOT
regal archBOT
#

Getting

bot_1       | Traceback (most recent call last):
bot_1       |   File "/usr/local/lib/python3.8/site-packages/discord/client.py", line 343, in _run_event
bot_1       |     await coro(*args, **kwargs)
bot_1       |   File "/bot/bot/exts/backend/error_handler.py", line 86, in on_command_error
bot_1       |     await ctx.send(f"Cannot infract that user. {e.original.reason}")
bot_1       | AttributeError: 'InvalidInfractedUser' object has no attribute 'reason'
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#

I would like to try implementing a lemoji with star struck eyes, useful in the case when you are delighted by an action and are surprised at the same time, it would be based on this emoji :star_struck:, I am thinking about making it similar to lemon_hearteyes but let me know if I can design it in a better way, here's a rough implementation
lemon_starstruck

odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#

This results in two spaces after the code block, like in the following screenshot. Let's remove it.
<img width="501" alt="Screenshot 2021-02-06 at 22 16 55" src="https://user-images.githubusercontent.com/65498475/107129892-06fea900-68c9-11eb-8171-5707ef8e971e.png">
With one space, it instead looks like this:
<img width="537" alt="Screenshot 2021-02-06 at 22 17 19" src="https://user-images.githubusercontent.com/65498475/107129904-15e55b80-68c9-11eb-86fd-4d6bdf455f89.png">

#
[python-discord/sir-lancebot] New branch created: upgrade\-override
#

Other types of comprehensions have differences that people need to know about in order to use them and given that it would take too many words to describe those differences, I think we shouldn't refer to them at all. I think this is especially true for generator expressions, as I think most people learn list and dict comprehensions (and maybe set comprehensions as well) before they learn about lazy iteration.

!dictcomp is another tag.

odd spireBOT
regal archBOT
#

I think you're right that they have quite a few differences that you need to know. However, this is something that I actually found very useful when reading the tag a while back. List comps are pretty common, so mentioning that there are similar things and underlining the fact that there are differences and that they'll need to do some further resource is crucial. At the same time, I see this as a great opportunity to sneak in some "you didn't know you wanted to know this, but you really want...

odd spireBOT
regal archBOT
#

Description

This PR removes the in_channel_override, with the more feature-rich whitelist_check. This allows for more granularity with the checks. Other improvements include allowing commands to ignore the global checks if need be.

The improvements will not materialize immediately in this PR, but it will help other currently open PRs in implementing features smartly.

Reasoning

The whitelist_check allows the checks to utilize categories, and roles, whereas previously catego...

odd spireBOT
regal archBOT
regal archBOT
#
jb3
[python-discord/forms-frontend] branch deleted: dependabot/npm\_and\_yarn/types/node\-14\.14\.25
#
jb3
[python-discord/forms-frontend] branch deleted: dependabot/npm\_and\_yarn/sentry/react\-6\.1\.0
#
jb3
[python-discord/forms-frontend] branch deleted: dependabot/npm\_and\_yarn/webpack\-5\.20\.2
#
[python-discord/forms-frontend] New branch created: dependabot/npm\_and\_yarn/webpack\-5\.21\.1
#

Bumps webpack from 5.20.0 to 5.21.1.

Release notes
Sourced from webpack's releases.

v5.21.1
Bugfixes

fix a crash when using colors in stats

v5.21.0
Features

add webpack_base_uri to change base URI at runtime
add stats.errorDetails: "auto" to show error details automatically when there are only 1 or 2 errors

Bugfixes

fix a hanging build when using the persistent cache without a package.json in cwd

Developer Experience

add typings for...

regal archBOT
#
jb3
[python-discord/forms-frontend] branch deleted: dependabot/npm\_and\_yarn/html\-webpack\-plugin\-5\.0\.0
#
jb3
[python-discord/forms-frontend] branch deleted: dependabot/npm\_and\_yarn/webpack\-5\.21\.1
#

This PR mainly focuses on cleaning up dependencies. It moves type libraries to the devDependencies section, as they are not needed for building. Additionally, it removes cross-env as a project requirement, following the ability to set NODE_ENV as a webpack setting from the CLI.

The PR changes the way dependencies are installed for the workflows, opting to use a prod install for releases, such as netlify and sentry, and using development for everything else. This has the added benefit of ...

regal archBOT
regal archBOT
#
jb3
[python-discord/forms-frontend] branch deleted: cleanup\-depends
regal archBOT
#

bbce0a8 Create local-file tag about sending local files... - ks129
d0c87c7 discord.Channel -> discord.TextChannel - ks129
44be3e8 discord.Messageable -> discord.abc.Messageable - ks129
6db5023 Remove additional newline from end of tag - ks129
e1fa318 Mention instance in comment about Messageable - ks129

#
[python-discord/bot] branch deleted: ks123/discord\-py\-local\-file\-tag
oak estuaryBOT
odd spireBOT
regal archBOT
regal archBOT
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
regal archBOT
#

Description

Implement a .stackoverflow or .so command which takes a search query and lists the top (5?) results. This command would be limited only to #sir-lancebot-commands. The command structure would be very simple, just .stackoverflow

Reasoning

This would help quickly getting solutions to problems that are not apt to use a help-channel, or questions which aren't python related. It would also reduce a little stress on the help channels.

Proposed Implementation

...

regal archBOT
#
[python-discord/sir-lancebot] New branch created: change\-permissions
odd spireBOT
regal archBOT
oak estuaryBOT
odd spireBOT
regal archBOT
#

Thanks! Works like a charm — unless we go into some edge cases.

When lowering the maximim amount of help channels (restarting bot in-between), the higher number of help channels will be listed in the available help channels message. Let me show you an example, where we go from 3 to 2 channels. After restarting the bot with the new config, the following will happen:

  • The bot keeps updating the message with 3 help channels. One of them will be there statically (and incorrectly), while th...
#
[python-discord/bot] branch deleted: dynamic\-available\-help\-channels
odd spireBOT
oak estuaryBOT
odd spireBOT
regal archBOT
#
[python-discord/bot] New branch created: revert\-1396\-dynamic\-available\-help\-channels
#
[python-discord/bot] branch deleted: revert\-1396\-dynamic\-available\-help\-channels
odd spireBOT
oak estuaryBOT
odd spireBOT
oak estuaryBOT
regal archBOT
regal archBOT
#
[python-discord/bot] New branch created: dynamic\-available\-help\-channels
#

Bot can fetch a message that was previously deleted, which causes a discord.NotFound error since it cannot find the message to edit.

On the actual server, no message has been deleted. The bot this time finds the webhook message, then tries to edit it.

I will make a change to check if the last message was sent by the bot. If not, it will send a dynamic message (or something similar to this)

![image](https://user-images.githubusercontent.com/15021300/107146849-72fc0400-68ff-11eb-8efe...

regal archBOT
#

I'm not sure that making the bot ping the user will do much to help. If they ignored the ping with the command invocation, it seems unlikely that they'll care about the bot embed.

There's also the previously mentioned issue with double pings, which we should definitely avoid. Using an ID seems too complex, and I believe most people would still ping them. This could be solved by only including a ping in the bot message if the invocation included an ID, and not if the user was mentioned, but ...

regal archBOT
#

There are a couple bugs in the ping command, that only manifest in local development.

Bug 1: gaierror: [Errno 11001] getaddrinfo failed

This bug is pretty easy to explain. On many development bots, the site URL will have some sort of port (for example pythondiscord.local:8000 or web:8000). aioping.ping does not seem to handle that, and will throw a getadderinfo error. (Full TB if needed). This issue does not affect the Python bot...

regal archBOT
regal archBOT
regal archBOT
regal archBOT
regal archBOT
odd spireBOT
odd spireBOT
regal archBOT
regal archBOT
#
[python-discord/forms-frontend] New branch created: dependabot/npm\_and\_yarn/webpack\-5\.21\.2
#

Bumps webpack from 5.21.1 to 5.21.2.

Release notes
Sourced from webpack's releases.

v5.21.2
Bugfixes

json with constructor property now caches correctly
json generation with object prototype property now works correctly
tree shaking json array when accessing length property now works correctly
fix incorrect call context when calling properties on imports from CommonJS modules

Commits

6661bd9 5.21.2
87f9382 Merge pull request #12621 from webpack/de...

#
[python-discord/forms-frontend] New branch created: dependabot/npm\_and\_yarn/emotion/react\-11\.1\.5
#

Bumps @emotion/react from 11.1.4 to 11.1.5.

Release notes
Sourced from @emotion/react's releases.

@emotion/react@11.1.5
Patch Changes

4d2e732e #2206 Thanks @jimmydief! - Added export for SerializedStyles Flow type.

Commits

2fe9e0e Version Packages (#2207)
d029350 Removed type for as prop for composite components (#2240)
f3c2e81 Added option & fallback AMP props to the list of valid props (#2232)
b62647e Fix regex to comply with no-useless-e...

#
[python-discord/forms-frontend] New branch created: dependabot/npm\_and\_yarn/types/node\-14\.14\.25
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
#
[python-discord/forms-backend] branch deleted: dependabot/pip/motor\-2\.3\.1
odd spireBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
regal archBOT
regal archBOT
regal archBOT
#

Description

Quite a few commands don't quite work when being invoked from a DM. https://github.com/python-discord/sir-lancebot/pull/577 resolves some that raise errors, however there are other cogs that I have not looked into. This issue should cover going over every command and making sure the behave well when invoked via a DM.

Reasoning

Some people may want to invoke commands from DMing the bot. In this case, we should either output the result as normal, or respond with a mea...

regal archBOT
#
[python-discord/forms-frontend] New branch created: github\-annotations\-eslint
regal archBOT
#

fbdfaea Rewrite to use simpler examples. - swfarnsworth
9655acb More robust example with no reference to Python... - swfarnsworth
d333a77 New example to emphasize the mapping functional... - swfarnsworth
90eeeb0 Removed extra blank line.

  • swfarnsworth
    9a9eb8f "handle converting" -> "convert ... for you".
  • swfarnsworth
#
[python-discord/bot] branch deleted: swfarnsworth/tag\_messages
oak estuaryBOT
odd spireBOT
regal archBOT
regal archBOT
#
[python-discord/forms-frontend] New branch created: dependabot/npm\_and\_yarn/husky\-5\.0\.9
#

Bumps husky from 4.3.8 to 5.0.9.

Release notes
Sourced from husky's releases.

v5.0.9

fix(install): do not fail if not inside a Git directory (closes #851)

See https://github.com/typicode/husky/releases/tag/v5.0.0 for v5 release notes
v5.0.8

fix(install): better handle Git <2.9 (#846) closes #844

v5.0.7

fix(shell): double quote params (#824)

v5.0.6

Remove unused files

v5.0.5

Fix custom directory support #827

v5.0.0
👉 See https://typicode.gith...

#
[python-discord/forms-frontend] New branch created: dependabot/npm\_and\_yarn/typescript\-eslint/eslint\-plugin\-4\.15\.0
#

Bumps @typescript-eslint/eslint-plugin from 4.14.2 to 4.15.0.

Release notes
Sourced from @typescript-eslint/eslint-plugin's releases.

v4.15.0
4.15.0 (2021-02-08)
Bug Fixes

eslint-plugin: [no-extra-parens] handle ESLint 7.19.0 (#2993) (4615048)
eslint-plugin: [prefer-function-type] correct fixer when signature ends with a semi (#3002) (898dd39)
scope-manager: fix visiting of TSImportType (#3008) (ce4f...

regal archBOT
oak estuaryBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#
[python-discord/sir-lancebot] New branch created: wolfram\-mock\-locations
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
regal archBOT
#
odd spireBOT
regal archBOT
#
[python-discord/sir-lancebot] branch deleted: wolfram\-mock\-locations
odd spireBOT
night lilyBOT
#
Sir Lancebot

Connected!

regal archBOT
regal archBOT
#

This currently isn't exposed as a public API, and doing so will probably be bad since tampering could easily break things. If you think exposing this is useful for extensibility, then the way to go about it would be to expose a read-only view for the dictionary (or just the values if the paths aren't useful).

In any case, if it's going to be storing the classes, it may be better to use a weak reference dictionary.

#

I hinted at this in a discussion on Discord, but I'm having doubts over the path remapping feature. It's proven to complicate the implementation and doesn't seem too useful in retrospect. In fact, it may be an unintuitive feature for end-users that edit configurations, since it breaks the established 1:1 relationship between the paths in YAML and Python. It's not inherently transparent to users that an attribute has been remapped.

I'm in favour of dropping the feature at this point. What d...

odd spireBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#
jb3
[python-discord/bot] New branch created: internal\-api\-routing
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#
jb3
[python-discord/bot] branch deleted: internal\-api\-routing
oak estuaryBOT
odd spireBOT
regal archBOT
oak estuaryBOT
odd spireBOT
regal archBOT
#
[python-discord/site] New branch created: dependabot/pip/cryptography\-3\.3\.2
#

Bumps cryptography from 3.3.1 to 3.3.2.

Changelog
Sourced from cryptography's changelog.

3.3.2 - 2021-02-07

  • SECURITY ISSUE: Fixed a bug where certain sequences of update() calls
    when symmetrically encrypting very large payloads (>2GB) could result in an
    integer overflow, leading to buffer overflows. CVE-2020-36242
    .. _v3-3-1:

Commits

82b6ce2 correct buffer overflows cause by integer overflow in openssl (#5747)
See full diff in...

odd spireBOT
regal archBOT
#

Current when a user is banned or purgebanned this feedback message will be sent:

:incoming_envelope: :ok_hand: applied ban to USER permanently.

It would be nice to have purgeban instead of ban in the message.

To achieve that, we can add a purge: True entry to the infraction dictionary in
https://github.com/python-discord/bot/blob/bafa6a9dbf61ae30ef235537408f0b073a88dd19/bot/exts/moderation/infraction/infractions.py#L327

And append purge at the beginning of `infr_ty...

regal archBOT
#
[python-discord/forms-frontend] branch deleted: dependabot/npm\_and\_yarn/webpack\-5\.21\.2
#
[python-discord/forms-frontend] branch deleted: dependabot/npm\_and\_yarn/emotion/react\-11\.1\.5
#
[python-discord/forms-frontend] branch deleted: dependabot/npm\_and\_yarn/types/node\-14\.14\.25
#
[python-discord/forms-frontend] New branch created: dependabot/npm\_and\_yarn/typescript\-eslint/parser\-4\.15\.0
#

Bumps @typescript-eslint/parser from 4.14.2 to 4.15.0.

Release notes
Sourced from @typescript-eslint/parser's releases.

v4.15.0
4.15.0 (2021-02-08)
Bug Fixes

eslint-plugin: [no-extra-parens] handle ESLint 7.19.0 (#2993) (4615048)
eslint-plugin: [prefer-function-type] correct fixer when signature ends with a semi (#3002) (898dd39)
scope-manager: fix visiting of TSImportType (#3008) (ce4fcbf), closes #3006

F...

#
[python-discord/forms-frontend] New branch created: dependabot/npm\_and\_yarn/typescript\-4\.1\.4
#

Bumps typescript from 4.1.3 to 4.1.4.

Release notes
Sourced from typescript's releases.

TypeScript 4.1.4
This release contains fixes for a security risk involving language service plugin loading. More details are available here.

Commits

c329d68 Bump version to 4.1.4 and LKG
7bc7173 Allow only package names as plugin names
See full diff in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compati...

#
[python-discord/forms-frontend] branch deleted: dependabot/npm\_and\_yarn/typescript\-eslint/eslint\-plugin\-4\.15\.0
#
[python-discord/forms-frontend] branch deleted: dependabot/npm\_and\_yarn/typescript\-4\.1\.4
#
[python-discord/forms-frontend] branch deleted: dependabot/npm\_and\_yarn/typescript\-eslint/parser\-4\.15\.0
regal archBOT
#
jb3
[python-discord/forms-frontend] branch deleted: github\-annotations\-eslint
regal archBOT
regal archBOT
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#
[python-discord/bot] branch deleted: bug/1371/moderation\-check
oak estuaryBOT
odd spireBOT
regal archBOT
regal archBOT
regal archBOT
odd spireBOT
odd spireBOT
regal archBOT
#

Description

Extend the 8bitify command to work with GIF profile pictures too. The output should be the full animated gif, but 8bitified.

Reasoning

As nitro users can have GIFs as their profile picture, we should have the ability to 8bitify their whole avatar!

Proposed Implementation

Same input & output as the current implementation, but make it work with GIFs

Additional Details

Would you like to implement this yourself?

  • [ ] I'd like to implemen...
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
#

Bumps @testing-library/user-event from 12.6.3 to 12.7.0.

Release notes
Sourced from @testing-library/user-event's releases.

v12.7.0
12.7.0 (2021-02-11)
Features

add type support for {home} and {end} (#536) (808c550)

Commits

808c550 feat: add type support for {home} and {end} (#536)
See full diff in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@tes...

#
[python-discord/forms-frontend] New branch created: dependabot/npm\_and\_yarn/testing\-library/user\-event\-12\.7\.0
#
[python-discord/forms-frontend] New branch created: dependabot/npm\_and\_yarn/typescript\-4\.1\.5
#

Bumps typescript from 4.1.4 to 4.1.5.

Release notes
Sourced from typescript's releases.

TypeScript 4.1.5
This release contains a fix for an issue when language service plugins have no specified name.

Commits

aace53f Bump version to 4.1.5 and LKG
af0ad80 Handle if plugin doesnt specify name (#42720)
See full diff in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-...

odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
oak estuaryBOT
odd spireBOT
night lilyBOT
#
Sir Lancebot

Connected!

regal archBOT
regal archBOT
#
[python-discord/bot] New branch created: origin/dynamic\-available\-help\-channels
#
[python-discord/bot] branch deleted: origin/dynamic\-available\-help\-channels
#
[python-discord/bot] branch deleted: dynamic\-available\-help\-channels
#
[python-discord/bot] New branch created: dynamic\-available\-message\-patch
odd spireBOT
regal archBOT
#

Hello @Brodevil9989, thank you for your interest in our projects.

The tag doesn’t conform to our guidelines for posting tags: it is a copy paste of an help page, it doesn’t have any markdown formatting, it is too long to fit in an embed.
Besides, we aren’t really interested in just showing an help page to our users, we would rather have a tag explaining what pip is.

Besides, your contribution doesn’t follow our [contributing guidelines](https://github.com/python-discord/bot/blob/mas...

regal archBOT
#
[python-discord/bot] New branch created: pypi\-command
odd spireBOT
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#

The approach taken is perfectly fine, I'd just like to mention the option of persisting the message ID with Redis, since it seems that we could remove some complexity that way. In fact, as long as you know the message ID (in Redis) and channel ID (in config), editing a message is possible with a direct call:

self.bot.http.edit_message(channel_id, message_id, content=new_content)

This avoids having to acquire and store the channel and message objects, allowing you to work...

regal archBOT
odd spireBOT
regal archBOT
regal archBOT
#

Description

Implement a .youtube or .yt command to get the top 5 results from YouTube with that search query.

Reasoning

Users can share videos with each other and recommend YouTube tutorials on different topics.

Proposed Implementation

Use the Youtube API.

Would you like to implement this yourself?

  • [x ] I'd like to implement this feature myself
  • [ ] Anyone can implement this feature
regal archBOT
#

I'm a bit afraid that it could be used in a LMGTFY way. That is, instead of linking a tutorial or an article, a person can just invoke that command with a query.

@decorator-factory I think we have a few other Lancebot commands that are similar such as the Wikipedia, and in-development StackOverflow command, but I think like @HassanAbouelela said, we should be fine as long as we limit its usage.

regal archBOT
#

Relevant Issues

Closes #585

Description

Implemented a new youtube cog which has a youtube (alias: yt) command to search youtube from a specified query. Additionally, there is a fifteen-second cooldown.

Reasoning

This allows users to share videos with each other and search for tutorials relevant to a conversation. I imagine staff might find this useful for linking tutorials that they recommend to other users.

Screenshots

Did you:

  • [x] Join the [**...
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
odd spireBOT
odd spireBOT
odd spireBOT
odd spireBOT
odd spireBOT
odd spireBOT
regal archBOT
#

@Shivansh-007
Exception handling in "user code" (implementation of commands) is needed when there can reasonably be an exception, which you can interpret as an error in the command input, or interpret as something useful. For example, if we had a regex command, we could interpret a failure to parse a string as a regular expression and report it to the user.

If, however:

  • Google has changed their API
  • There's a bug at Google
  • There's a bug in Linux
  • There's a bug in discord.py...
odd spireBOT
regal archBOT
#

Description

A simple command that would give you fun facts about python itself.

Reasoning

If people wanted to learn more about Python and get some trivia, this would be a useful command.

Proposed Implementation

I was thinking of using a text/json file, and pick a random fact from that.

Would you like to implement this yourself?

  • [x] I'd like to implement this feature myself
  • [ ] Anyone can implement this feature
oak estuaryBOT
regal archBOT
#
[python-discord/forms-frontend] New branch created: dependabot/npm\_and\_yarn/types/node\-14\.14\.26
regal archBOT
#
[python-discord/forms-backend] New branch created: dependabot/pip/sentry\-sdk\-0\.20\.0
#

Bumps sentry-sdk from 0.19.5 to 0.20.0.

Release notes
Sourced from sentry-sdk's releases.

0.20.0

Fix for header extraction for AWS lambda/API extraction
Fix multiple **kwargs type hints # 967
Fix that corrects AWS lambda integration failure to detect the aws-lambda-ric 1.0 bootstrap #976
Fix AWSLambda integration: variable "timeout_thread" referenced before assignment #977
Use full git sha as release name #960
BREAKING CHANGE: The def...

odd spireBOT
regal archBOT
#
[python-discord/sir-lancebot] branch deleted: upgrade\-override
odd spireBOT
night lilyBOT
#
Sir Lancebot

Connected!

regal archBOT
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
regal archBOT
odd spireBOT