Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Jul 3, 2020

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull bot added ⤵️ pull merge-conflict Resolve conflicts manually labels Jul 3, 2020
@Bishbash777 Bishbash777 temporarily deployed to m-mod-mail-59558 November 14, 2020 15:38 Inactive
@Bishbash777 Bishbash777 temporarily deployed to m-mod-mail-59558 November 19, 2020 15:39 Inactive
@Bishbash777 Bishbash777 temporarily deployed to m-mod-mail-59558 November 20, 2020 07:38 Inactive
@Bishbash777 Bishbash777 temporarily deployed to m-mod-mail-59558 November 20, 2020 11:39 Inactive
@Bishbash777 Bishbash777 temporarily deployed to m-mod-mail-59558 November 20, 2020 15:38 Inactive
@Bishbash777 Bishbash777 temporarily deployed to m-mod-mail-59558 November 21, 2020 07:38 Inactive
@Bishbash777 Bishbash777 temporarily deployed to m-mod-mail-59558 November 23, 2020 15:39 Inactive
@Bishbash777 Bishbash777 temporarily deployed to m-mod-mail-59558 February 1, 2021 09:12 Inactive
@Bishbash777 Bishbash777 temporarily deployed to m-mod-mail-59558 February 2, 2021 15:23 Inactive
@Bishbash777 Bishbash777 temporarily deployed to m-mod-mail-59558 April 1, 2021 00:30 Inactive
@Bishbash777 Bishbash777 temporarily deployed to m-mod-mail-59558 April 25, 2021 19:15 Inactive
Taaku18 and others added 15 commits January 14, 2025 05:08
Signed-off-by: Taku <[email protected]>
Update sponsors

Signed-off-by: Taku <[email protected]>
* Update README.md

Signed-off-by: Taku <[email protected]>

* Update README.md

Update sponsors

Signed-off-by: Taku <[email protected]>

* Escape hyphen in regex string

Unescaped this was permitting any character between $ (index 36) and _ (index 95), which aren't all valid in urls.

* Get or fetch member when trying to reply

This fixes an issue where the member may not be in the cache

---------

Signed-off-by: Taku <[email protected]>
Co-authored-by: Taku <[email protected]>
Co-authored-by: Chris Lovering <[email protected]>
* Add (truncated) preview to snippets command (#3342)

* Add (truncated) preview to snippets command

* Add old view as option with "compact"

* Fix black formatting

* Fix: Image url regex in thread send method (#3378)

* feat minimum character requirement for thread creation. (#3380)

* update: dpy, snoozing.

This pull request updated discord.py to 2.5.2.

This also brings a new few features.
- snooze
- snoozed
- unsnooze
- clearsnoozed

Aswell as a few new config options.
- max_snooze_time
- snooze_title
- snooze_text
- unsnooze_tex
- unsnooze_notify_channel


Signed-off-by: lorenzo132 <[email protected]>

* remove: unneeded import

Signed-off-by: lorenzo132 <[email protected]>

* Formatting black

Signed-off-by: lorenzo132 <[email protected]>

* fix?: internal messages on restoration

Signed-off-by: lorenzo132 <[email protected]>

* formatting

Signed-off-by: lorenzo132 <[email protected]>

* fix: internal messages.

Signed-off-by: lorenzo132 <[email protected]>

* fix: internals

Signed-off-by: lorenzo132 <[email protected]>

* Update thread.py

Signed-off-by: lorenzo132 <[email protected]>

* fix: use same logkey after restoration

Signed-off-by: lorenzo132 <[email protected]>

* Add files via upload

Signed-off-by: lorenzo132 <[email protected]>

* Update thread.py

Signed-off-by: lorenzo132 <[email protected]>

* Update thread.py

Signed-off-by: lorenzo132 <[email protected]>

* Update thread.py

Signed-off-by: lorenzo132 <[email protected]>

* fix: show who send which internal message.

* Black formatting.

* Update Pipfile

Signed-off-by: lorenzo132 <[email protected]>

* Update Pipfile.lock

Signed-off-by: lorenzo132 <[email protected]>

* fix: unsnooze bug

* feat: CV2

* update: black

* fix: duplicates in logs, notes.

* feat: dpy 2.6.3, forwarded messages, bug fixes.

* Fix jump_url not being displayed

* Update pipfile for new dpy version

* fix: bug in note title/color

* Update snooze arg

* Update Pipfile to include tomli package

Signed-off-by: lorenzo132 <[email protected]>

* auto detect dpy version

Signed-off-by: lorenzo132 <[email protected]>

* Remove crlf terminators

* fix: ignore typing failures (#3389)

* fix: ignore typing failures

Make Modmail keep working when typing is disabled/outage

* fix: only surpress failures

* chore: sync local edits before push

* Lock pipenv

* Fix: closing with timed words/ command in reply. (#3391)

* fix: ignore typing failures

Make Modmail keep working when typing is disabled/outage

* fix: only surpress failures

* chore: sync local edits before push

* Fix: closing with timed words/ command in reply.

* Fix: typing in changelog command.

* Fix: closing with timed words (additional))

* Fix changelog entry for command reply issue

Corrected wording in the changelog entry regarding command inclusion in replies.

Signed-off-by: lorenzo132 <[email protected]>

* Update CHANGELOG for v4.2.0 enhancements

Forwarded messages now display correctly in threads.

Signed-off-by: lorenzo132 <[email protected]>

---------

Signed-off-by: lorenzo132 <[email protected]>

* Remove disutil, undo lowercasing escape seq

* Add back uvloop

* Add config help for snooze configs

Signed-off-by: Taku <[email protected]>

* Update sponsors and bmac links

---------

Signed-off-by: lorenzo132 <[email protected]>
Signed-off-by: Taku <[email protected]>
Co-authored-by: Sebastian <[email protected]>
Co-authored-by: Zallom <[email protected]>
Co-authored-by: lorenzo132 <[email protected]>
Co-authored-by: “lorenzo132” <[email protected]>
Co-authored-by: Martin <[email protected]>
The logs command can be used anywhere again.

Signed-off-by: lorenzo132 <[email protected]>
lorenzo132 and others added 14 commits November 28, 2025 08:31
* Add (truncated) preview to snippets command (#3342)

* Add (truncated) preview to snippets command

* Add old view as option with "compact"

* Fix black formatting

* Fix: Image url regex in thread send method (#3378)

* feat minimum character requirement for thread creation. (#3380)

* update: dpy, snoozing.

This pull request updated discord.py to 2.5.2.

This also brings a new few features.
- snooze
- snoozed
- unsnooze
- clearsnoozed

Aswell as a few new config options.
- max_snooze_time
- snooze_title
- snooze_text
- unsnooze_tex
- unsnooze_notify_channel


Signed-off-by: lorenzo132 <[email protected]>

* remove: unneeded import

Signed-off-by: lorenzo132 <[email protected]>

* Formatting black

Signed-off-by: lorenzo132 <[email protected]>

* fix?: internal messages on restoration

Signed-off-by: lorenzo132 <[email protected]>

* formatting

Signed-off-by: lorenzo132 <[email protected]>

* fix: internal messages.

Signed-off-by: lorenzo132 <[email protected]>

* fix: internals

Signed-off-by: lorenzo132 <[email protected]>

* Update thread.py

Signed-off-by: lorenzo132 <[email protected]>

* fix: use same logkey after restoration

Signed-off-by: lorenzo132 <[email protected]>

* Add files via upload

Signed-off-by: lorenzo132 <[email protected]>

* Update thread.py

Signed-off-by: lorenzo132 <[email protected]>

* Update thread.py

Signed-off-by: lorenzo132 <[email protected]>

* Update thread.py

Signed-off-by: lorenzo132 <[email protected]>

* fix: show who send which internal message.

* Black formatting.

* Update Pipfile

Signed-off-by: lorenzo132 <[email protected]>

* Update Pipfile.lock

Signed-off-by: lorenzo132 <[email protected]>

* fix: unsnooze bug

* feat: CV2

* update: black

* fix: duplicates in logs, notes.

* feat: dpy 2.6.3, forwarded messages, bug fixes.

* Fix jump_url not being displayed

* Update pipfile for new dpy version

* fix: bug in note title/color

* Update snooze arg

* Update Pipfile to include tomli package

Signed-off-by: lorenzo132 <[email protected]>

* auto detect dpy version

Signed-off-by: lorenzo132 <[email protected]>

* Remove crlf terminators

* fix: ignore typing failures

Make Modmail keep working when typing is disabled/outage

* fix: only surpress failures

* chore: sync local edits before push

* fix: ignore typing failures (#3389)

* fix: ignore typing failures

Make Modmail keep working when typing is disabled/outage

* fix: only surpress failures

* chore: sync local edits before push

* Lock pipenv

* Fix: closing with timed words/ command in reply.

* Fix: typing in changelog command.

* Fix: closing with timed words (additional))

* Fix changelog entry for command reply issue

Corrected wording in the changelog entry regarding command inclusion in replies.

Signed-off-by: lorenzo132 <[email protected]>

* Update CHANGELOG for v4.2.0 enhancements

Forwarded messages now display correctly in threads.

Signed-off-by: lorenzo132 <[email protected]>

* Fix: closing with timed words/ command in reply. (#3391)

* fix: ignore typing failures

Make Modmail keep working when typing is disabled/outage

* fix: only surpress failures

* chore: sync local edits before push

* Fix: closing with timed words/ command in reply.

* Fix: typing in changelog command.

* Fix: closing with timed words (additional))

* Fix changelog entry for command reply issue

Corrected wording in the changelog entry regarding command inclusion in replies.

Signed-off-by: lorenzo132 <[email protected]>

* Update CHANGELOG for v4.2.0 enhancements

Forwarded messages now display correctly in threads.

Signed-off-by: lorenzo132 <[email protected]>

---------

Signed-off-by: lorenzo132 <[email protected]>

* Remove disutil, undo lowercasing escape seq

* Add back uvloop

* Add config help for snooze configs

Signed-off-by: Taku <[email protected]>

* fix; raceconditions, thread duplication on unsnooze, message queue for accurasy on high load

* Update package versions in requirements.txt

Signed-off-by: lorenzo132 <[email protected]>

* snooze(move): auto-unsnooze on reply/any mod message; enforce hidden permissions on auto-created Snoozed Threads and sync perms on move; restore original overwrites on unsnooze; add capacity guard and config docs

* unsnooze: suppress mentions during restore (AllowedMentions.none on replay and notifications)

* Remove base64 snooze/unsnooze logic, fix notification crash, clean up replay logic

* fix: escape mentions on unsnooze

* Fix: Only create log URL button if valid, and robust channel restore for snooze

* black formatting

* Unsnooze: prefix username (user_id) for plain-text replay messages

* feat: command queue during unsnooze process.

feat(config): `unsnooze_history_limit`: Limits the number of messages replayed when unsnoozing (genesis message and notes are always shown).

* fix: contact while snooze returned as invalid channel

* Update thread.py

* fix: snooze timing

* change: rename default snooze time config

* fix: parsing

* fix: cache for snooze timer

* fix: Properly accessing nested data

* rename: default_snooze_time -> snooze_default_duration

* improve unsnooze notify

* fix: id extraction for clean database.

* improve: support for user-friendly time input for snooze_default_duration

* reflect config help snooze_default_duration for userfriendly time

* fix: anonreply showing None

This fixes a bug where, if no `anon_username` is set and the moderator has no roles, the `anon_username` is not showing as `None` anymore, and will show as intended.

The logic now works as follows:
- If a config anon_username is set → use it
- Else, if a mod_tag is set → use it
- Else, if the moderator has a top role → use that
- Else → use "Anonymous"

* black formatting

* feat: thread creation menu

Credits to Sebkuip(https://github.com/sebkuip) for the original idea and populair plugin.(advanced-menu)

This now is a core feature.

* Update requirements.txt

* fixes

This solves:
- `config get`: invalid form body
- restores functionality after menu timeout.

* feat: thread_creation_menu_precreate_channel

adds a new: thread_creation_menu_precreate_channel

to create the threads, even when nothing is selected yet.

* core

Fully merged `threadmenu config` into the main bot’s config system.

Added threadmenu embed customization capability.

* Change thread_creation_menu config

Moves thread_creation_menu_options, thread_creation_menu_submenus and thread_creation_menu_enabled to the private config keys to avoid changes via ?config set as they can be changed via ?threadmenu

* Change Option Description/Emoji

Changes the description and emoji making it possible to be None (optional)

* fix: disable menu after closure

* feats/fixes

configs added:
thread_creation_send_dm_embed

fix:
snooze while no option was selected, after snoozing selecting option first errored. This is now solved

* forgot to add help

* rely on config for precreating. fix error with unknown channels

* feat: large images in threadmenu embed

* feat: threadmenu reset

* cleanup

* codereviews response. Formatting (ruff)

* log instead of pass on exception

* format

* higher delays

* black formatting, smoothen menu closure

* smoothen which selecetion was made

* solves the command from showing in the replies in rare cases

* Update CHANGELOG.md

* Update sponsors and bmac links

* fix: typeerror

* fix: Remove thread-only restriction from logs command

The logs command can be used anywhere again.

* Remove commands from being saved in DB.

* fix: correct guildpfp with sepserver setup - made by martin

This PR fixes displaying the wrong guild icon in the thread_creation_response embed.
When servers having a seperate server setup, the guild icon from the main guild should be displayed instead of the inbox guild.

* fix: robust channel deletion handling, skip audit log attribution if permission is missing

* update: use current reqs.txt as masterbranch

* sync: pip&pip lock with master

* Patch Thread Menu Editing Crash

* bump version

* Missing a newline

Signed-off-by: Taku <[email protected]>

* Missing a newline

Signed-off-by: Taku <[email protected]>

* Apply suggestion from @Copilot

Co-authored-by: Copilot <[email protected]>
Signed-off-by: Taku <[email protected]>

* Apply suggestion from @Copilot

Co-authored-by: Copilot <[email protected]>
Signed-off-by: Taku <[email protected]>

---------

Signed-off-by: lorenzo132 <[email protected]>
Signed-off-by: Taku <[email protected]>
Co-authored-by: Sebastian <[email protected]>
Co-authored-by: Zallom <[email protected]>
Co-authored-by: Martin <[email protected]>
Co-authored-by: Taku <[email protected]>
Co-authored-by: Copilot <[email protected]>
This adds two commands for renaming snippets and aliases for easier name editing.
Fixes config_help notes variables inside the `thread_close_response` and `thread_self_close_response`.
* Git Repository check for bot update

Adds a check mechanism for the `?update` command and the autoupdate task to ensure the bot has been installed via git before trying to update it.

* Fix typo in update command

---------

Co-authored-by: Sebastian <[email protected]>
* Updates Plugin Wiki Link

As the github repo wiki got moved to the own docs page this link needs to be updated.
I will update it accordingly if docs may change later.

* Fix @local/name doc

* Chnaged Plugin Help Link for #3322

Plugin Help link got moved again into a new page of the docs.

---------

Co-authored-by: Sebastian <[email protected]>
* Threadmenu now supports submenus

* Fix a small issue with path not resetting after main menu.

* Fix copilot suggestions

* Black formatting

* Fix undeclared vars

* threadmenu: submenu navigation fixes

Signed-off-by: lorenzo132 <[email protected]>

* threadmenu: submenu navigation fixes

Refactor thread creation menu handling to improve path management and submenu navigation.

Signed-off-by: lorenzo132 <[email protected]>

* Fix formatting according to black

---------

Signed-off-by: lorenzo132 <[email protected]>
Co-authored-by: lorenzo132 <[email protected]>
* improvements changelog.md

* remove advancedmenu plugin

* fix: hide privatekey from changelog

This is for internal use only.

* black formatting

* feat: dispatch event for snoozing/unsnoozing.

This allows plugin developers to create feature on snoozing/unsnoozing.

* bump pipfile

* Update Pipfile.lock

* black formatting

* sync with pipfile.

---------

Co-authored-by: Sebastian <[email protected]>
* Add threadmenu toggle notice

Adds a notice to the `threadmenu toggle` command. It gets displayed if the advancedmenu plugin is part of the bot and checks if its enabled at the same time. useful for users because both would interrupt eachother.

* Threadmenu toggle notice link

Adds a link to the migration guide for the legacy plugin.
Improves the make_alias function.
* Fixes thread_auto_close execution when disabled.

This fixes the issue #3290 which caused threads to be auto-closed even if `thread_auto_close` has been disabled.

There was also an issue that closed the thread when the user has responded to mods. The thread should stay open and only auto close when the staff has replied back.

* fix: prevent autoclosing when close has been cancelled.

This solves the thread from autoclosing if the closure has been cancelled earlier in a thread.

* fix: AttributeError / lower mongo calls.

I had added a small bugfix aswell for pagination when an invalid config var was given.

This happened to occur upon removing the `thread_auto_close` config.

---------

Co-authored-by: lorenzo132 <[email protected]>
Co-authored-by: lorenzo132 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⤵️ pull merge-conflict Resolve conflicts manually

Projects

None yet

Development

Successfully merging this pull request may close these issues.