#dev-log

1 messages ยท Page 77 of 1

regal archBOT
#
jb3
[python-discord/site] branch deleted: jb3\-cj8\-patches
#

This PR adds some additional changes required before we can make the code jam 8 announcement.
Summary of changes:

  • Updated Import Dates to reflect that the announcement is going out today
  • Changed main NavBar to have one Events tab that should bring you to the main event page
  • Updated wording about joining the Discord server
  • Correctly spelled GitHub, YouTube
  • Added in DigitalOcean as a Sponsor
  • Clarified and updated the rules
  • Ensured consistency for "Approved Frameworks"
  • A...
odd spireBOT
regal archBOT
odd spireBOT
odd spireBOT
odd spireBOT
odd spireBOT
regal archBOT
regal archBOT
regal archBOT
#
[python-discord/bot] New branch created: vcokltfre/tag/for\-else
odd spireBOT
odd spireBOT
odd spireBOT
night lilyBOT
#
Sir Lancebot

Connected!

#
Sir Lancebot

Connected!

oak estuaryBOT
night lilyBOT
#
Sir Lancebot

Connected!

oak estuaryBOT
regal archBOT
#
[python-discord/site] New branch created: cj8\-frameworks\-update
odd spireBOT
regal archBOT
#
jb3
[python-discord/site] branch deleted: cj8\-frameworks\-update
odd spireBOT
regal archBOT
#
jb3
[python-discord/site] New branch created: jb3/cf\-cache\-purge
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#
jb3

Is there a smarter way to clear invalidated cache items rather than purging the whole thing? Not sure if that even make sense with the way they store cache, but I don't know how they do that.

@MarkKoz If you pay Cloudflare, you can pass a list of wildcards to invalidate. We could pass a list of individual file URLs but it's unnecessary complexity. It's better to just have pages have a slightly higher initial load time (which they already do โ€“ considering we currently serve django pages w...

odd spireBOT
regal archBOT
#
jb3

Better in terms of what, just reduced complexity?

Yeah, that's all. The process for conditional invalidation would be along the lines of getting a diff of files changed, mapping that to URLs and then pushing that to Cloudflare, it's possible but is another component to maintain. We'd need to build static assets, reverse all the resource and guide URLs and so on, which is possible but I'm not sure it's worth it.

regal archBOT
regal archBOT
#
jb3
[python-discord/site] branch deleted: jb3/cf\-cache\-purge
odd spireBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
regal archBOT
oak estuaryBOT
odd spireBOT
regal archBOT
odd spireBOT
odd spireBOT
regal archBOT
#
[python-discord/bot] branch deleted: swfarnsworth/help\_channel\_message
odd spireBOT
oak estuaryBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
regal archBOT
#

Ignoring exception in on_command_error
Traceback (most recent call last):
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/client.py", line 343, in _run_event
await coro(*args, **kwargs)
File "main.py", line 26, in on_command_error
await delete(ctx)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/ext/commands/core.py", line 374, in call
return await self.callback(*args, **kwargs)
File "main.py", line 313, in delete
awai...

regal archBOT
#

Abstract

We had instances of users inserting bot tokens and bad words inside their paste. We should proxy POSTs to the Hastebin and return a 400 if any of those is found.

Specification

We should put a worker on paste.pythondiscord.com/documents that will search the payload for a user token regex or any of a selected list of bad words. If any is found, 400 should be returned with a JSON message payload.

odd spireBOT
regal archBOT
#
[python-discord/bot] New branch created: mbaruh\-patch\-1
odd spireBOT
oak estuaryBOT
odd spireBOT
regal archBOT
#
[python-discord/site] New branch created: add\-support\-for\-d\.py\-1\.7
#

With the addition of new permissions in Discord, the max permission number now exceeds that which can be stored in an int.

This needs to be merged before we can bump the bot up to 1.7 and Discord.py add support for these new permissions.

See this table in the Discord API docs to see that the new max number 1 << 36
https://discord.com/developers/docs/topics/permissions#permissions-bitwise-permission-flags

odd spireBOT
oak estuaryBOT
#

Doc item doc_item.symbol_id='environment-variables' present in loaded documentation inventories not found on site, inventories may need to be refreshed.

regal archBOT
#
[python-discord/bot] New branch created: voice\-verify\-pings
#

We recently had our first large stage channel event. This led to a lot of people joining a voice channel for the first time. This normally means that they get pinged to tell them how to verify for voice.

We do not want this to happen for stage channels, as the user's don't get perms to speak there anyway.

This PR ignores users who haven't been pinged yet, when trying to ping them the voice verification warning. When they join a normal voice channel for the first time, they will be pinge...

odd spireBOT
regal archBOT
#

Is the MaxValueValidator necessary? It doesn't feel like it adds much value while adding a maintenance cost. The current max value in discord.py is also 33 bit so I'm not even sure if that or 36 would fit more

Hmm yea, if we went with d.py, then we'd need to bump this with a migration each time. If we went with 36, it gives us some time, but it won't be long until Discord adds new permissions.

I tend to agree that we could remove this validator entirely.

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

While these are MD files these are actually just output into discord embeds. While most markdown syntax (including links!) works in embeds, ### for titles doesn't. Other tags, like decorators.md and async-await.md use **Title** so if we intend to have a title (which I think works great here) we should use the same syntax/formatting as otherwise it ends up as literally ### Title and looks a little out of place

regal archBOT
regal archBOT
regal archBOT
#
[python-discord/bot] New branch created: filters/4200\-chars\-limit
#

Since Discord Nitro now unlock a 4,000 character limit, some of our code broke, including our filters which limit you to only post up to 3,000 character in 10s. This limit has been upped to 4,200.

I added 200 characters so if a full length message is sent with another small comment it wouldn't trigger the filter. I can think of some past instances where that would have happened.

odd spireBOT
oak estuaryBOT
odd spireBOT
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
#
[python-discord/snekbox] New branch created: env\-deps/add\-tzdata
#
jb3
[python-discord/snekbox] branch deleted: env\-deps/add\-tzdata
odd spireBOT
regal archBOT
#
[python-discord/bot] New branch created: wookie184\-user\-command\-fix
odd spireBOT
oak estuaryBOT
odd spireBOT
regal archBOT
odd spireBOT
oak estuaryBOT
odd spireBOT
regal archBOT
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
#

Sentry Issue: BOT-147

Forbidden: 403 Forbidden (error code: 50007): Cannot send messages to this user
  File "bot/exts/help_channels/_cog.py", line 586, in notify_session_participants
    await message.author.send(embed=embed)
  File "discord/abc.py", line 935, in send
    data = await state.http.send_message(channel.id, content, tts=tts, embed=embed,
  File "discord/http.py", line 241, in re...
#
[python-discord/bot] New branch created: correct\-constant\-name
odd spireBOT
oak estuaryBOT
odd spireBOT
regal archBOT
#
[python-discord/branding] New branch created: master
odd spireBOT
regal archBOT
#
[python-discord/branding] branch deleted: master
regal archBOT
#
[python-discord/forms-backend] branch deleted: unittest\_failures
odd spireBOT
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#

I'm not sure on this. The NOTE seems a bit extra. Giving it a moments thought I think we shouldn't include this--one of the goals with tags is as a famous engineering adage goes:

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away

The goal here is to explain dunders correctly, succinctly, and with the goal of educating the reader. I think this note could probably be dropped to make this easier to read and digits without losing ...

#

Sorry, I'm going to be a little nitpicky here. I think this can be worded a little better. At the moment, the first sentence is quiet long, with a lot of asides in it. We could probably get away with something much shorter. I don't think we need to really explain inheritance here. The first sentence attempts to do that a little, but I think we can get away with just stating that there are defaults that come from object.

regal archBOT
#
jb3
[python-discord/site] New branch created: jb3/navbar\-spans
odd spireBOT
regal archBOT
odd spireBOT
oak estuaryBOT
odd spireBOT
regal archBOT
regal archBOT
regal archBOT
regal archBOT
regal archBOT
odd spireBOT
odd spireBOT
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
#
[python-discord/site] branch deleted: add\-support\-for\-d\.py\-1\.7
#
jb3
[python-discord/site] New branch created: jb3/remove\-rlbot
odd spireBOT
regal archBOT
#
[python-discord/bot] branch deleted: voice\-verify\-pings
oak estuaryBOT
odd spireBOT
regal archBOT
#
[python-discord/site] branch deleted: jb3/remove\-rlbot
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#
[python-discord/site] New branch created: cj8\-qualifier\-release
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#
jb3
[python-discord/site] branch deleted: cj8\-qualifier\-release
odd spireBOT
odd spireBOT
odd spireBOT
regal archBOT
#

We've decided to go through with the feature.

Some things to keep in mind for this:

  • Handling staff restricted commands in the new file structure. @Numerlor's seems like a good solution.
  • Discoverability. Tags under groups should remain as discoverable as possible. One approach is that when !tags is called, to list all groups and their tags, similarly to how extensions and their commands are currently listed under !help. Furthermore, !tags <group_name> can list only the tags unde...
regal archBOT
odd spireBOT
regal archBOT
regal archBOT
#

https://imgur.com/a/tYsTD7S
this suggestion is for adding documentation to the tooltip
suggesting to have a tooltip on which time format is accepted when setting a reminder .

started with doing!remind new 12 api and it didn't accept the format. (i was guessing what this would do, because otherwise i would check the code on the github to find the formats) , and then i assumed that a h format could be used and it worked .

note:
to quickly get more information in tooltips while...

#
[python-discord/bot] New branch created: swfarnsworth/echo\_permissions
odd spireBOT
odd spireBOT
regal archBOT
#
[python-discord/bot] branch deleted: swfarnsworth/echo\_permissions
oak estuaryBOT
odd spireBOT
odd spireBOT
regal archBOT
#
[python-discord/site] branch deleted: mbaruh\-patch\-1
odd spireBOT
regal archBOT
regal archBOT
#
[python-discord/api] New branch created: sebastiaan/6\-migrate\-to\-poetry
#

I've replaced pipenv by poetry, as discussed in #6. This also means that the Dockerfile had to be rewritten to support poetry as the dependency manager instead of pipenv.

In addition, since I wasn't happy with how well poetry and pre-commit worked together when it came to running "local" commands, I've temporarily removed pre-commit from our stack. We can reevaluate this later on.

This PR closes #6.

regal archBOT
regal archBOT
#
[python-discord/site] New branch created: bootcamp\-update
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#
[python-discord/site] branch deleted: bootcamp\-update
odd spireBOT
regal archBOT
odd spireBOT
odd spireBOT
odd spireBOT
regal archBOT
#
[python-discord/site] branch deleted: jb3/navbar\-spans
#

a8a0322 Adjust Message model to support new nitro messa... - bast0006
05730b3 Add pragma: no cover to mark failure condition ... - bast0006
88f91ab Merge remote-tracking branch 'upstream/main' in... - bast0006
6c9c7f0 Recreate nitro message length migration and nam... - bast0006
abccdba Merge branch 'main' into fix-nitro-message - Akarys42

odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
regal archBOT
odd spireBOT
odd spireBOT
regal archBOT
odd spireBOT
oak estuaryBOT
odd spireBOT
regal archBOT
regal archBOT
#
[python-discord/site] branch deleted: move\-config\-docs\-to\-contributing\-guide
odd spireBOT
regal archBOT
regal archBOT
regal archBOT
#
[python-discord/site] branch deleted: master
regal archBOT
#
[python-discord/site] New branch created: lemon/summer\_code\_jam\_21/front\_page\_banner
odd spireBOT
regal archBOT
#
jb3

25cc5fb Move existing code jam assets into a folder. - lemonsaurus
5609487 Add some new Summer Code Jam banners. - lemonsaurus
8ad3f9c Put Summer Code Jam '21 banner on the front page. - lemonsaurus
9170536 Merge pull request #544 from python-discord/lem... - jb3

#
jb3
[python-discord/site] branch deleted: lemon/summer\_code\_jam\_21/front\_page\_banner
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#
[python-discord/site] New branch created: docker\-compose/postgres\-13
odd spireBOT
regal archBOT
#
[python-discord/site] New branch created: lemon/summer\_code\_jam\_21/front\_page\_banner\_fixes
odd spireBOT
regal archBOT
#
[python-discord/site] branch deleted: docker\-compose/postgres\-13
odd spireBOT
regal archBOT
#
[python-discord/site] branch deleted: lemon/summer\_code\_jam\_21/front\_page\_banner\_fixes
#

eda0a55 Update banners to have vertically centered text. - lemonsaurus
70154a6 Hyperlink code jam banner to code jam page. - lemonsaurus
144c06b Merge branch 'main' into lemon/summer_code_jam_... - jb3
7c67384 Merge pull request #546 from python-discord/lem... - Akarys42

odd spireBOT
odd spireBOT
oak estuaryBOT
odd spireBOT
regal archBOT
#
[python-discord/bot] New branch created: wookie184\-voiceverify\-alias
#
[python-discord/bot] branch deleted: wookie184\-voiceverify\-alias
odd spireBOT
oak estuaryBOT
odd spireBOT
regal archBOT
odd spireBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#
jb3
[python-discord/bot] branch deleted: xdist
oak estuaryBOT
odd spireBOT
regal archBOT
#
[python-discord/bot] New branch created: move\-cov\-config\-to\-toml
odd spireBOT
regal archBOT
regal archBOT
#
[python-discord/site] New branch created: bootcamp\-updates
regal archBOT
regal archBOT
#
[python-discord/site] New branch created: bootcamp\-update
#
[python-discord/site] branch deleted: bootcamp\-update
oak estuaryBOT
#

Doc item doc_item.symbol_id='environment-variables' present in loaded documentation inventories not found on site, inventories may need to be refreshed.

regal archBOT
#
[python-discord/sir-lancebot] New branch created: merge\-github\-issues
#

Relevant Issues

Closes #711

<!-- Link the issue by typing: "Closes #" (Closes #0 to close issue 0 for example). -->

Description

I moved the code in issues.py to githubinfo.py, and the .issue command was moved into the .github group. This means that you can invoke the command like .github issue 1, but it uses root_aliases so you can still do .issue 1. The automatic linking of issues was also moved into this cog.

Did you:

  • [x] Join the [**Python D...
odd spireBOT
regal archBOT
#
[python-discord/bot] New branch created: don't\-allow\-mods\-to\-be\-watched
odd spireBOT
regal archBOT
#
[python-discord/bot] branch deleted: don't\-allow\-mods\-to\-be\-watched
oak estuaryBOT
odd spireBOT
regal archBOT
#
jb3
[python-discord/bot] branch deleted: move\-cov\-config\-to\-toml
odd spireBOT
regal archBOT
#
[python-discord/bot] New branch created: move\-cov\-config\-to\-toml
#
[python-discord/bot] branch deleted: move\-cov\-config\-to\-toml
oak estuaryBOT
odd spireBOT
regal archBOT
#
[python-discord/bot] New branch created: remove\-pixels\-token\-detection
#

Sentry Issue: BOT-14F

DNSError: (4, 'Domain name not found')
  File "aiohttp/resolver.py", line 91, in resolve
    resp = await self._resolver.gethostbyname(host, family)

OSError: Domain name not found
  File "aiohttp/connector.py", line 999, in _create_direct_connection
    hosts = await asyncio.shield(host_resolved)
  File "aiohttp/connector.py", line 865, in _resolve_host
    addrs = awai...
odd spireBOT
oak estuaryBOT
odd spireBOT
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
#

Introduces tag groups described in #1545.

When matching a tag with a group, the group is matched with no minimum amount of chars (unlike a tag that has to have 3 chars of its name) to allow a short invocation name to be used and possibly prevent some conflicts with tag names where multiple tags would be suggested instead of a s tag being sent.

Additionally tags now support metadata through a frontmatter block like in [meta files in branding](https://raw.githubusercontent.com/python-disc...

odd spireBOT
regal archBOT
regal archBOT
regal archBOT
#
[python-discord/api] New branch created: add\-ci
regal archBOT
odd spireBOT
regal archBOT
regal archBOT
#
[python-discord/bot] New branch created: new\-discord\-features
odd spireBOT
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
regal archBOT
#

Unfortunately, your PR does not meet any of our standards. As such, it's been closed.

Please don't create unnecessary PRs like this. If you have a genuine interest in contributing to our projects, ensure you follow our contributing guidelines, read the appropriate resources to know our processes, and follow these processes correctly the whole way through.

If you're interested in actually contributing properly, please reference our [Contributing] page on our website, read the resources ...

regal archBOT
oak estuaryBOT
regal archBOT
regal archBOT
#
[python-discord/site] New branch created: swfarnsworth/smarter\-resources/new\-resources
oak estuaryBOT
regal archBOT
night lilyBOT
#
Sir Lancebot

Connected!

oak estuaryBOT
regal archBOT
#
[python-discord/bot] New branch created: feat/code\-jam\-channels\-automation
#

Relevant Issues

Closes #1601

Description

This admin only command takes a CSV file or a link to one. This CSV file has three rows: 'Team Name', 'Team Member Discord ID', and 'Team Leader'.
The Team Name will be the name of the team's channel, the Member ID tells which user belongs to this team, and team leader, which is either Y/N, tells if this user is the team leader. It will create text channels for each team and make a team leaders chat channel as well. It will ping the Even...

odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
regal archBOT
#
[python-discord/bot] New branch created: running\-single\-tests
#

Adds a portion to the testing README explaining how and when to run an individual test file when working with tests.

Additionally adds a table of contents as the document has become quite long.

I used nocov instead of the regular version in the documentation as the options seemed to interfere with the selection (using cov and cov-report leads to pytest not using the passed path, and instead collecting all the tests).

These changes do not cover how to further specify tests or test sui...

odd spireBOT
regal archBOT
#
[python-discord/bot] branch deleted: running\-single\-tests
oak estuaryBOT
odd spireBOT
regal archBOT
odd spireBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
regal archBOT
regal archBOT
#

7d1ee89 chore: Add the codejam create command - ToxicKidz
2a5a15f chore: Update tests for the new codejam create ... - ToxicKidz
37f8637 chore: Remove the moderators role from the team... - ToxicKidz
1905f7c chore: Change the Code Jam Team Leader role's... - ToxicKidz
646b840 Merge branch 'main' into feat/code-jam-channels... - ToxicKidz

#
[python-discord/bot] branch deleted: feat/code\-jam\-channels\-automation
oak estuaryBOT
odd spireBOT
regal archBOT
regal archBOT
#

This disables filter_zalgo, filter_invites, filter_domains, watch_regex, watch_rich_embeds, and filter_everyone_ping in the code jam team channels (the main one we wanted to disable was filter_domains but it's easiest to do all at once, just wanted to list them to be clear of the changes).

Code jam team channels are based on the category name Code Jam used by the jams cog, so we shouldn't put any public channels under a category with that name. This code will likely be replac...

odd spireBOT
odd spireBOT
odd spireBOT
oak estuaryBOT
odd spireBOT
regal archBOT
#

Sentry Issue: BOT-14P

AttributeError: 'DMChannel' object has no attribute 'category'
  File "discord/client.py", line 343, in _run_event
    await coro(*args, **kwargs)
  File "bot/exts/filters/filtering.py", line 166, in on_message
    await self._filter_message(msg)
  File "bot/exts/filters/filtering.py", line 287, in _filter_message
    category = msg.channel.category

Unhandled exception ...
#

Sentry Issue: BOT-14Q

AttributeError: 'DMChannel' object has no attribute 'category'
  File "discord/client.py", line 343, in _run_event
    await coro(*args, **kwargs)
  File "bot/exts/filters/filtering.py", line 183, in on_message_edit
    await self._filter_message(after, delta)
  File "bot/exts/filters/filtering.py", line 287, in _filter_message
    category = msg.channel.category

Unhand...
#
[python-discord/bot] New branch created: fix\-category\-check\-in\-dm\-channels
odd spireBOT
oak estuaryBOT
odd spireBOT
regal archBOT
#
[python-discord/bot] New branch created: max\-mentions\-8
odd spireBOT
regal archBOT
#
[python-discord/bot] branch deleted: max\-mentions\-8
#
[python-discord/bot] New branch created: mbaruh\-patch\-1
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
oak estuaryBOT
odd spireBOT
regal archBOT
#
[python-discord/sir-lancebot] New branch created: wookie184\-codejam\-permissions
#

Relevant Issues

It is mandatory to link to an issue that has been approved by a Core Developer, indicated by an "approved" label.
Issues can be skipped with explicit core dev approval, but you have to link the discussion.

Uh, well, actually technically I didn't do that, sorry ๐Ÿ˜ข

<!-- Link the issue by typing: "Closes #" (Closes #0 to close issue 0 for example). -->

Description

I added permissions for members to run sir-lancebot commands in their codejam team channels...

odd spireBOT
night lilyBOT
#
Sir Lancebot

Connected!

odd spireBOT
regal archBOT
odd spireBOT
night lilyBOT
#
Sir Lancebot

Connected!

odd spireBOT
regal archBOT
#
[python-discord/sir-lancebot] New branch created: remove\-hacktoberfest\-whitelist
#

Relevant Issues

<!-- Link the issue by typing: "Closes #" (Closes #0 to close issue 0 for example). -->
Closes #780

Description

The hacktoberfest channel has now been removed, so these overrides can also be removed.
The commands may still be useful in future, and can be used in lancebot's playground.

Did you:

  • [ ] Join the Python Discord Community?
  • [ ] Read all the comments in this template?
  • [ ] Ensure there is an issue ope...
odd spireBOT
regal archBOT
regal archBOT
#
[python-discord/sir-lancebot] branch deleted: remove\-hacktoberfest\-whitelist
night lilyBOT
#
Sir Lancebot

Connected!

odd spireBOT
regal archBOT
#

Removes the GCC & git installation steps from the docker file. They were added end of last year, and my best guess is they were used to install packages while wheels were not available. They are no longer needed.

To address similar problems in the future, I've locked python version more tightly (now supporting 3.8,3.9 instead of >3.8), so we don't end up in a similar situation when 3.10 releases. I've locked the docker version as well.

I also bumped the program version.

#
jb3
[python-discord/metricity] branch deleted: drop\-deps
#

Description

Implement a game inspired by the classic card game, Set, using pydis ducks.

After running the command, the bot posts an embed with an image of the board consisting of 12 cards. Players race to claim valid sets of 3 cards. Correct answers earn them a point, incorrect answers deduct a point. After a time limit the game ends, and the scores are displayed in the initial embed along with any valid sets that went unclaimed. Alternatively, a p...

regal archBOT
#

Description

An Avatar modifier that will return a gif of your Avatar, but turns into a rickroll

Reasoning

Just a fun trick when someone asks for your profile and if you have nitro and want it. Also, it's just a fun command lmao.

Proposed Implementation

Don't have it yet. I can't seem to find the person who's pfp looks like this lmao (or any recording). I can make one though if needed. Don't want to do unnecessary work if this gets rejected.

Would you like to implement th...

regal archBOT
regal archBOT
#

To generate those ducks randomly, quackstack ๐Ÿฆ† would be great. If you want to keep the ducks similar you could randomly choose details (/details/{type}) and provide it to the API, allowing it to choose the others.

Alec was working on a package version of quackstack, there is a WIP PR open for that, not sure how long it would take ๐Ÿคท๐Ÿพโ€โ™‚๏ธ

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

Relevant Issues

<!-- Link the issue by typing: "Closes #" (Closes #0 to close issue 0 for example). -->
Closes #784

Description

I removed the -1 from the quote index calculation at This means the command [p]love ([p] refers to Lancebot's prefix) will now return the correct quote for love_percent = 0 edge-case, and scores in the range [96, 100] will now correctly use the 100 quote from bot/resources/valentines/love_matches.json instead of the 95 quote.

Did y...

odd spireBOT
night lilyBOT
#
Sir Lancebot

Connected!

regal archBOT
#
[python-discord/bot] New branch created: mbaruh/jam\-management
regal archBOT
#
[python-discord/site] New branch created: the\-code\-style\-guide
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
regal archBOT
#

Currently all the block code tags include leading and trailing newlines and are indented because of the HTML structure, dedenting and removing all the non code characters in the pre tag works but I'm not sure if that's the proper solution

The comment and docstring paragraphs feel a bit too dense to me:

There were some other places where the wording didn't quite fit but I didn't come up with something that felt m...

regal archBOT
#
[python-discord/api] New branch created: fallback\-to\-old\-api
#

This adds a new endpoint handler using the path converter in order to match
requests directed to any subtree. As long as this endpoint is the last to be
included in the router, all requests not matching defined routes under the
/api endpoint will be forwarded to the old API.

Two new settings are added for this. One is the endpoint of the old API to
forward to, which may change in the future due to the pending subdomain removal
pull request. The other is the API token to use for th...

odd spireBOT
regal archBOT
#

The purpose of this PR is for us to avoid manually searching the permissions of team channels, and dealing with user-based overwrites. This also allows us to quickly tell what team a participant belong to.

Added:

  • An info embed with team the member is in. The team is decided by finding in which channel the member has overwrites.
  • Command to move a member from one team to another by changing the permissions of the appropriate team channels.
  • A command to end the code jam and delete ...
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
odd spireBOT
regal archBOT
odd spireBOT
oak estuaryBOT
odd spireBOT
regal archBOT
#

@MarkKoz I think the current duplicated functions should remain where they are for now. If we do decide to move these functions somewhere else, it should be within a different PR focused on refactoring.

The functions themselves in my own attempt of refactoring ended up taking a bit too many variables as arguments. That may have just been me though, and it was quite a while since said last attempt. Although at this point in time it seems to be still the same case.

regal archBOT
#
[python-discord/site] New branch created: cj8\-info\-update
odd spireBOT
regal archBOT
#
jb3
[python-discord/site] branch deleted: cj8\-info\-update
odd spireBOT
regal archBOT
#

Overall, love the content of this and I like the examples included. Thank you for doing this!

I've made some adjustments to the wording written so far. Almost all of it is small grammar changes to help the sentences flow a bit better.

I am going to approve this even though I have some comments and suggestions. The suggestions I made aren't critical and I don't want me being unavailable at work or in flight to block merging this.

oak estuaryBOT
#

Doc item doc_item.symbol_id='urwid.Widget' present in loaded documentation inventories not found on site, inventories may need to be refreshed.

#

Doc item doc_item.symbol_id='urwid.MainLoop' present in loaded documentation inventories not found on site, inventories may need to be refreshed.

odd spireBOT
regal archBOT
regal archBOT
#
[python-discord/bot] branch deleted: drop\-gpl\-deps
odd spireBOT
oak estuaryBOT
odd spireBOT
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#
[python-discord/site] branch deleted: the\-code\-style\-guide
odd spireBOT
regal archBOT
#
[python-discord/site] New branch created: cj/minor\-adjustments
odd spireBOT