#dev-log

1 messages ยท Page 29 of 1

regal archBOT
odd spireBOT
oak estuaryBOT
regal archBOT
#
jb3
[python-discord/bot] New branch created: jb3/infraction-message-tidy-up
#
jb3

This PR automatically deletes messages generated by the bot as part of dealing out automated infractions (e.g. spam filters). These have a habit of filling up channels which are frequently abused but have low traffic otherwise (some channels appear as just a wall of automated infractions).

As of now, the timer is set to 8 hours, though we can increase this if we feel we need the longer persistence (though obviously the full record and log is still preserved in the #mod-alerts channel).

...

odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#
jb3
[bot] Branch jb3/infraction-message-tidy-up was force-pushed to `b50ba64`
#
jb3
[python-discord/bot] branch deleted: jb3/non-staff-rule-usage
odd spireBOT
regal archBOT
#
jb3
[bot] Branch jb3/infraction-message-tidy-up was force-pushed to `c4e62e4`
odd spireBOT
oak estuaryBOT
odd spireBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#
jb3
[python-discord/bot] branch deleted: jb3/infraction-message-tidy-up
oak estuaryBOT
odd spireBOT
odd spireBOT
regal archBOT
#
jb3

Given these are both structured and known values, I would maybe consider serializing them together into one store?

This is a nit though and others may disagree, it just appears that we use them more or less in the same place so whilst if we were just working in dict-land this would be preferred when working in a place with an underlying store I prefer it being the same.

regal archBOT
#
jb3
[python-discord/bot] New branch created: jb3/mod-changes-refactor
#
jb3

Refactors some items from #3339 and #3338.

  • Use partial objects to avoid unnecessary API calls when tidying up infraction messages
    • I hadn't noticed the partial functions when I went on my hunt, I was working under the assumption I'd have to hook into the HTTP stuff or create my own partials, but this is much cleaner and cheaper.
  • Don't tidy-up infractions outside mod channels (ensures that infractions issued by the bot automatically in mod-alerts stay as part of the context)
  • Exc...
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#
jb3

a7872f5 Use partial messageable and message to tidy up ... - jb3
dad7497 Only tidy-up infractions outside mod channels - jb3
c226ea3 Exclude bot-commands from rules alert relay - jb3
45ced59 Merge pull request #3340 from python-discord/jb... - jb3

#
jb3
[python-discord/bot] branch deleted: jb3/mod-changes-refactor
oak estuaryBOT
odd spireBOT
regal archBOT
regal archBOT
oak estuaryBOT
odd spireBOT
odd spireBOT
odd spireBOT
odd spireBOT
odd spireBOT
odd spireBOT
odd spireBOT
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
odd spireBOT
odd spireBOT
odd spireBOT
odd spireBOT
odd spireBOT
mint goblet
#

@ocean rock P1

#

Linter unhappy when upgraded, site in shambles

ocean rock
#

WTF

odd spireBOT
ocean rock
#

i mean what the fuck

regal archBOT
odd spireBOT
regal archBOT
mint goblet
#

@ocean rock p0 resolved

odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#
jb3
[python-discord/king-arthur] New branch created: jb3/github-management
#
jb3
[king-arthur] Branch jb3/github-management was force-pushed to `947b45d`
regal archBOT
odd spireBOT
regal archBOT
#
jb3
[python-discord/king-arthur] branch deleted: jb3/github-management
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
ocean rock
#

I'm so sorry

odd spireBOT
ocean rock
#

WTF

#

I'm going to LOSE IT

#

this is why we don't use GitHub mobile to write features

regal archBOT
#
jb3
[python-discord/king-arthur] New branch created: jb3-patch-1
odd spireBOT
regal archBOT
#
jb3
[python-discord/king-arthur] branch deleted: jb3-patch-1
odd spireBOT
odd spireBOT
odd spireBOT
regal archBOT
#
[python-discord/bot-core] New branch created: discord_invite_update
regal archBOT
#
jb3
[python-discord/bot-core] branch deleted: discord_invite_update
#
jb3
[python-discord/bot-core] New tag created: v11.6.1
#
[python-discord/site] New branch created: resources-category-update
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
odd spireBOT
oak estuaryBOT
odd spireBOT
regal archBOT
oak estuaryBOT
odd spireBOT
oak estuaryBOT
odd spireBOT
regal archBOT
oak estuaryBOT
odd spireBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
odd spireBOT
regal archBOT
#
jb3
[python-discord/bot] New branch created: jb3/poetry-to-uv
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
#
jb3
[python-discord/sir-lancebot] New branch created: jb3/poetry-to-uv
#
jb3

Relevant Issues

Not enough time left! Need faster dependency management! https://thebulletin.org/doomsday-clock/

Description

Poetry migrated to uv.

Did you:

  • [ ] Join the Python Discord Community? No I haven't yet joined. I don't really like Discord.
  • [ ] Read all the comments in this template? No I can't read only program. I'm washed.
  • [ ] Ensure there is an issue open, or link relevant discord discussions? **There is a wi...
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#
jb3
[python-discord/bot] branch deleted: jb3/poetry-to-uv
oak estuaryBOT
odd spireBOT
night lilyBOT
#
Sir Lancebot

Connected!

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

Connected!

odd spireBOT
regal archBOT
#
[python-discord/site] New branch created: uv-migration
ocean rock
#

@umbral grove ALL IN ONE COMMIT!!??!???!

umbral grove
ocean rock
#

TERRIBLE!

#

SPLIT THIS UP

umbral grove
#

YOU DONT NEED GIT HISTORY!!!

ocean rock
#

XITHRIUS!

regal archBOT
umbral grove
#

you win this round.

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
night lilyBOT
#
Sir Lancebot

Connected!

odd spireBOT
regal archBOT
#
[python-discord/site] branch deleted: resources-category-update
odd spireBOT
regal archBOT
#
jb3
[python-discord/sir-robin] New branch created: jb3/poetry-to-uv
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#
jb3
[python-discord/sir-robin] branch deleted: jb3/poetry-to-uv
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
umbral grove
#

ratelimited CRY

regal archBOT
odd spireBOT
regal archBOT
#
[python-discord/branding] New branch created: CJ12
regal archBOT
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
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
thin oysterBOT
#
Sir Robin

Connected!

regal archBOT
oak estuaryBOT
regal archBOT
odd spireBOT
thin oysterBOT
#
Sir Robin

Connected!

odd spireBOT
night lilyBOT
#
Sir Lancebot

Connected!

odd spireBOT
regal archBOT
#
jb3

97a9d85 Dependencies/docker to uv - Xithrius
b34e714 Project installation guides from poetry to uv - Xithrius
91c70d7 Installation of project dependencies guide migr... - Xithrius
c91c5e3 Other references/usages of poetry migrated to uv - Xithrius
6457abf Migrate lint-test from setup-python to uv - Xithrius

#
jb3
[python-discord/site] branch deleted: uv-migration
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
thin oysterBOT
#
Sir Robin

Connected!

odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#

7b7c451 Bump pre-commit from 4.1.0 to 4.2.0 - dependabot[bot]
1fca2c1 Merge pull request #1489 from python-discord/de... - jchristgit
2b4c791 Bump python-dotenv from 1.0.1 to 1.1.0 - dependabot[bot]
b4df5dd Merge pull request #1496 from python-discord/de... - jchristgit
bccdcfa Bump django from 5.1.7 to 5.1.8 - dependabot[bot]

#
[python-discord/site] New branch created: forms-admin
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#
jb3

We don't need:

  • Nearly as much role information as we are currently storing. We use this almost solely for calculating scopes and can probably get away with name and ID (if even that, most of this data is validated on the fly)
  • We don't need member information, just user information and whether they are in the guild or not.

As a sample of a filled response object:

{
        "_id" : "7d880da8-0f06-4f4e-bc1d-9987eefa0d51",
        "user" : {
                "username" : "...",
      ...
regal archBOT
regal archBOT
regal archBOT
odd spireBOT
odd spireBOT
regal archBOT
#
[python-discord/king-arthur] New branch created: fix-typo
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
odd spireBOT
odd spireBOT
regal archBOT
#
jb3
[python-discord/site] branch deleted: Matiiss-add-job-jobs-keywords-to-rule-command
odd spireBOT
oak estuaryBOT
regal archBOT
odd spireBOT
odd spireBOT
regal archBOT
#
[python-discord/site] New branch created: cj12-initial-update
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#
jb3
            This should be as easy as possible, which means you should consider using dependency managers like <code>uv</code> or <code>poetry</code>.

With our recent move to uv and our existing use of poetry, there aren't any situations where I'd recommend pipenv now. For us as reviewers, this is going to make things so much easier when initialising environments.

odd spireBOT
regal archBOT
#
jb3
[python-discord/site] branch deleted: cj12-initial-update
odd spireBOT
odd spireBOT
regal archBOT
odd spireBOT
odd spireBOT
oak estuaryBOT
odd spireBOT
oak estuaryBOT
odd spireBOT
odd spireBOT
odd spireBOT
regal archBOT
night lilyBOT
#
Sir Lancebot

Connected!

odd spireBOT
odd spireBOT
regal archBOT
night lilyBOT
#
Sir Lancebot

Connected!

odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#
[python-discord/forms-backend] New branch created: dataclass-futures-module-loading-fix
odd spireBOT
odd spireBOT
odd spireBOT
regal archBOT
#
jb3

Client-side type checking has got better nowadays. I agree we could potentially look at mypy but with tools like pyright being integrated into editors and having support for LSP I suggest we just bolster our recommendation of client-side tooling.

Interested in thoughts of our Core Devs now looking at this from a 2025 perspective?

ocean rock
#

!help tag

oak estuaryBOT
#
Query "tag" not found.
regal archBOT
regal archBOT
regal archBOT
oak estuaryBOT
odd spireBOT
regal archBOT
#

Mautovoice (moderated auto-voice) would let new users bypass the voice gate by granting temporary permissions to un-gated users when a supervising moderator is present in a public voice channel. This will hopefully cut down on spamming and provide a better experience for people wanting to chat on the server.

How it should work:

  • System activates when a moderator-role member (not mod-team) joins a public voice channel and is not deafened.
  • Bot automatically grants temporary speaking permi...
regal archBOT
regal archBOT
#
jb3

Hi @Snipy7374, just checking whether this is still a feature you'd like to implement?

You may need to pull in some updates from the main branch, if you no longer have time that's also completely okay, just let us know!

If you need any help or guidance feel free to drop a message in the #dev-contrib channel.

if the feature request is still valid yeah, why not

Reopened now, as mentioned let us know in #dev-contrib if you need any help with the review comments or ...

odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
odd spireBOT
regal archBOT
regal archBOT
regal archBOT
regal archBOT
regal archBOT
#
jb3
[python-discord/bot] New branch created: jb3/3.13-upgrade
odd spireBOT
regal archBOT
#
jb3
[python-discord/site] New branch created: jb3/3.13-upgrade
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#

There are some new warnings in the test CI

tests/bot/exts/test_cogs.py::CommandNameTests::test_names_dont_shadow
  /home/runner/work/bot/bot/bot/exts/utils/extensions.py:29: FutureWarning: functools.partial will be a method descriptor in future Python versions; wrap it in enum.member() if you want to preserve the old behavior
    RELOAD = functools.partial(Bot.reload_extension)

The fix should be the same as for lancebot https://github.com/python-discord/sir-lancebot/pull/1670/commits/...

regal archBOT
regal archBOT
#
jb3
[python-discord/site] branch deleted: jb3/3.13-upgrade
odd spireBOT
regal archBOT
#
jb3
[python-discord/bot] branch deleted: jb3/3.13-upgrade
oak estuaryBOT
odd spireBOT
odd spireBOT
regal archBOT
#

I'm trying to extend the bot by adding a trade execution method (take_trade()) to the loop that fetches the latest candles. However, whenever I include these methods, the bot freezes after fetching one or two candles โ€” no errors are shown, and it stops printing or responding beyond that point.
โœ… When I remove the take_trade() calls, the loop works perfectly.
But as soon as I add them (even with simple print statements inside), the bot freezes silently after the second loop.

I tried adding d...

ocean rock
#

what?????

regal archBOT
#

I am not sure you have opened this issue on the correct GitHub repository. Nothing you have described is functionality in this project.

This is the community Discord bot for the Python Discord community.

bro iam unexpreased bignear so i dont now any rules i find lots of ways to solve my problem so then chat gpt sagest me this that hear maive i can get any help

odd spireBOT
odd spireBOT
regal archBOT
regal archBOT
#
[python-discord/snekbox] New branch created: bump-to-latest
odd spireBOT
regal archBOT
#
[python-discord/snekbox] branch deleted: bump-to-latest
#

86cc15d Upgrade pyenv to 2.6.5 for access to latest Pyt... - ChrisLovering
abe9d24 Upgrade Python within snadbox to latest 3.13 & ... - ChrisLovering
35943c0 Add comment to explain why 3.13t can't be bumpe... - ChrisLovering
d0a5dd3 Close & unlick SharedMemory object in tests - ChrisLovering
10a80ee Update eval deps to latest versions - ChrisLovering

odd spireBOT
indigo meteor
mint goblet
#

mark, I apologise

indigo meteor
mint goblet
#

Lol, I also just noticed Close and unlick

odd spireBOT
odd spireBOT
regal archBOT
#

For invocations of !pip or !d a negative result is still a useful result. Deleting the bot response and the invocation is undesired in these cases (the author still has the option to delete anyway).

This kinda also applies to the code running commands where if you accidentally run in the wrong channel your invocation is nuked and the code you typed is lost, but that might need to be handled differently by posting the code in the channel where the execution results goes.

regal archBOT
regal archBOT
regal archBOT
#

I'd go for something like "Random word"/"Choose for me"/"Auto-suggest" rather than "add word".
I'll go with "Choose for me". ๐Ÿ‘

I plan to use the already existing hangman_words.txt file

Don't you need the word list to be categorized into types (like nouns, adjectives, etc)?

Technically yes, although I think it might be a bit difficult to do that because some of the template use very sp...

#

It just doesn't make sense to me for just the "React with ๐Ÿ“Œ to receive your own bookmark..." message to auto-delete when you run .bm with DM's off.

It's probably because there's a timeout on how long we (used to) listen for reactions (we use buttons now).

Just add delete_after=60 as a parameter to the ctx.send() function call here. Although I'm not sure if that's going to work, corr...

regal archBOT
#

Relevant Issues

Link to discussion: #dev-contrib message

Description

Changed one line of the Madlibs code which was causing a "ValueError: zip() argument 2 is shorter than argument 1" and, as a result, not displaying the final Madlib. All I had to do is change the "strict" parameter in the zip() function call to False and that fixed the issue.

Did you:

  • [x] Join the [Python Discord Community...
odd spireBOT
regal archBOT
regal archBOT
regal archBOT
night lilyBOT
#
Sir Lancebot

Connected!

odd spireBOT
regal archBOT
#

@vivekashok1221 I thought a bit more about how to implement the random word button: do you think it would be acceptable if I asked ChatGPT to generate a list of 5-10 random words for each part of speech used across all of the Madlibs templates (I would attach the madlibs_templates.json file)? Then I would just create a new JSON file which would include each of the generated lists, which I would then load in the main program and then, when the button is clicked, choose a random word from the...

regal archBOT
#

Personally I'm neutral on this issue since I don't think the embed sticking around is that big of a deal
Sure, it's certainly not a big deal -- I just feel like it makes sense to have some sort of auto-delete, especially if similar error messages in other cogs get auto-deleted, which may or may not be the case -- I'm not familiar with most of the other cogs in Lancebot.

That being said, it sounds like this isn't a necessary change, so I will close this issue.

regal archBOT
#
[python-discord/sir-robin] New branch created: cj12-updates
odd spireBOT
regal archBOT
#
[python-discord/sir-robin] branch deleted: cj12-updates
thin oysterBOT
#
Sir Robin

Connected!

odd spireBOT
regal archBOT
regal archBOT
regal archBOT
odd spireBOT
odd spireBOT
ocean rock
#

yeah

#

good issue

mint goblet
#

My cash machine is red

regal archBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
mint goblet
#

JavaScript...

odd spireBOT
regal archBOT
#

Relevant Issues

Closes #1000

Description

  • Added an "End Game" button to end the game in case a user decides not to play after starting a game.
  • Added a "Choose for me" button that randomly chooses a word from the madlibs_word_bank.json file and adds it to the Madlib in case the user can't think of a good word to use for the given part of speech.
  • As I was writing the code for the "Choose for me" button, I realized that it wouldn't make sense not to add a cooldown for th...
odd spireBOT
odd spireBOT
odd spireBOT
regal archBOT
#

Relevant Issues

Closes #1000

Description

  • Added an "End Game" button to end the game in case a user decides not to play after starting a game.
  • Added a "Choose for me" button that randomly chooses a word from the madlibs_word_bank.json file and adds it to the Madlib in case the user can't think of a good word to use for the given part of speech.
  • As I was writing the code for the "Choose for me" button, I realized that it wouldn't make sense not to add a cooldown for the bu...
odd spireBOT
odd spireBOT
odd spireBOT
regal archBOT
#

13975b4 Implemented optional duration parameter in slow... - b0nes1
db5ee77 WIP: Added tests for slowmode command with dura... - b0nes1
dd444fe Fix issue with unawaited coroutine in test - b0nes1
875c6d2 Fix bug in test causing channel edit to not be ... - b0nes1
a15262d Refactor slowmode command to use Duration conve... - b0nes1

odd spireBOT
oak estuaryBOT
odd spireBOT
regal archBOT
regal archBOT
regal archBOT
#
[python-discord/bot-core] New branch created: chris-forgot-2fa-lol
mint goblet
#

yeah

regal archBOT
regal archBOT
#
jb3
[python-discord/bot-core] New tag created: v11.7.0
oak estuaryBOT
odd spireBOT
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
odd spireBOT
odd spireBOT
odd spireBOT
odd spireBOT
odd spireBOT
regal archBOT
#

Relevant Issues

https://github.com/python-discord/sir-lancebot/issues/1691?notification_referrer_id=NT_kwDOBivkC7UxODE0MTkwMjE5MjoxMDM1Mzk3MjM#event-19124053085

Description

Changes made:

  • Extend the existing 'joke' command with 'dad' category using icanhazdadjoke API
  • Keep the existing joke categories (chuck, neutral, all)
    How it's implemented:
  • When dad joke is called, an asynchronous HTTP GET request is made to https://icanhazdadjoke.com with aiohttp
  • Implement...
odd spireBOT
oak estuaryBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#

Relevant Issues

Closes #985

Description

  • Grid size: 6x6
  • .sudoku [difficulty] to start a game, send coordinate and digit to enter guesses (e.g. A1 1)
    • Difficulties: easy (13 digits filled), normal (11 digits filled), hard (9 digits filled)
    • Each guess message will receive a reaction of either โœ… if correct or โŒ if incorrect. Correct guesses are automatically added to the board and digits are marked in green on the board.
    • Number of correct/incorrect guess...
odd spireBOT
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
#
[python-discord/bot] New branch created: mbaruh/fix-modpings-schedule
#
  • Fixes the modpings scheduler. Various bugs aside, key idea is that both caches are necessary to determine whether or not the moderator should currently have the role. Therefore almost all the checks, role changes, and scheduling are now under a central function handle_moderator_state.
  • Adds the sync command in case there's some problem, and the status command to view current status, when pings come back, and what the current schedule is.
odd spireBOT
odd spireBOT
regal archBOT
#

Sentry Issue: BOT-436

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf5 in position 14: invalid start byte
  File "bot/exts/filtering/filtering.py", line 237, in on_message
    await _extract_text_file_content(a)
  File "bot/exts/filtering/filtering.py", line 73, in _extract_text_file_content
    file_lines = file_content_bytes.decode(file_encoding).splitlines()

Unhandled exception in on_message.
`...
#

Sentry Issue: BOT-3ZN

AttributeError: 'NoneType' object has no attribute 'channel_id'
(2 additional frame(s) were not displayed)
...
  File "bot/exts/filtering/filtering.py", line 971, in _resolve_action
    list_actions, list_message, list_triggers = await filter_list.actions_for(ctx)
  File "bot/exts/filtering/_filter_lists/antispam.py", line 73, in actions_for
    triggers = await sublist.filter_list_re...
odd spireBOT
oak estuaryBOT
oak estuaryBOT
odd spireBOT
odd spireBOT
odd spireBOT
odd spireBOT
regal archBOT
oak estuaryBOT
regal archBOT
#
[python-discord/snekbox] New branch created: update-all-the-versions
night lilyBOT
#
Sir Lancebot

Connected!

regal archBOT
night lilyBOT
#
Sir Lancebot

Connected!

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

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

regal archBOT
#
jb3

For some commands such as !eval if executed in a non-snekbox category we redirect the output of the command and delete the invocation message.

This can be annoying for users when the original invocation cannot be recovered and to respond in #bot-commands with a new invocation is effortful.

Instead, we should amend the decorator that redirects the output of commands to #bot-commands to also upload the full invocation message to the paste service (using the util from pydis_core).

https://g...

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

@jb3, am I correct in my understanding that this copies messages from the server to our pastebin, possibly unexpectedly?

Yes, but with it being a bot command I'm less worried about that. Previously we've worried about that when things such as automatically uploading unformatted code have been mentioned, or when we are talking about uploading messages which are not direct interactions with the bot.

In this case, it's reasonable to temporarily upload after a user has directly used our featu...

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

Change log:

  • Added alt-text for the Welcome Video in the homepage
  • Added alt-texts of "" for images that does not affect people with screen-reader in the events page as well as the timeline page
  • Changes alt-texts in the events page form "AoC" to "Advent of Code" so, people who don't have knowledge about it can still know what it is.

Fixes

  • #1382
  • #1381
  • #1406
odd spireBOT
odd spireBOT
odd spireBOT
regal archBOT
#

When a string is too long, the preferred format is like this

content = (
    "Lorem ipsum dolor sit amet, consectetur "
    f"adipiscing {elit}, sed do eiusmod tempor "
    "incididunt ut labore et dolore magna aliqua."
)

This leverages implicit string concatenation. Note that segments using f-string need to start with an f. The trailing spaces at the end of each line are literal single spaces that are not line breaks.

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