Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: message forwarding #2598

Open
wants to merge 34 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
7fb97fb
new message types
NeloBlivion Oct 6, 2024
58e7c6c
new embed type
NeloBlivion Oct 6, 2024
901bdfe
implement types
NeloBlivion Oct 6, 2024
ceaffaf
update MessageReference
NeloBlivion Oct 6, 2024
5baa513
forwarding
NeloBlivion Oct 6, 2024
8c0a3ee
Merge branch 'master' into forwarding
NeloBlivion Oct 6, 2024
b64ec06
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 6, 2024
c99efe6
s
NeloBlivion Oct 6, 2024
dde7436
fix
NeloBlivion Oct 6, 2024
ea21897
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 6, 2024
3f6be75
final?
NeloBlivion Oct 6, 2024
cd632c3
fix import
NeloBlivion Oct 6, 2024
7454697
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 6, 2024
4bb20d8
frfr
NeloBlivion Oct 6, 2024
7bbfd96
Merge branch 'master' into forwarding
NeloBlivion Oct 14, 2024
2e1c15a
Merge branch 'master' into forwarding
NeloBlivion Nov 6, 2024
e1cfad7
Merge branch 'master' into forwarding
NeloBlivion Nov 17, 2024
c7da3b8
conflict 1
NeloBlivion Feb 4, 2025
2d33242
Merge branch 'master' into forwarding
NeloBlivion Feb 4, 2025
a4657da
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 4, 2025
1d6b0bf
fix docstr
NeloBlivion Feb 4, 2025
acd29ef
adjustments
NeloBlivion Feb 5, 2025
ac39fc3
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 5, 2025
63f1675
_get_message
NeloBlivion Feb 5, 2025
389ffa7
fix reference kwarg
NeloBlivion Feb 5, 2025
0d49197
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 5, 2025
579751a
undo
NeloBlivion Feb 5, 2025
95474f8
add system_content support
NeloBlivion Feb 5, 2025
39652ab
adjustments
NeloBlivion Feb 5, 2025
8879fd6
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 5, 2025
01ef32e
changelog
NeloBlivion Feb 6, 2025
21c0e59
Merge branch 'master' into forwarding
NeloBlivion Feb 6, 2025
cf98e47
add has_snapshot flag
NeloBlivion Feb 6, 2025
9a115b1
Merge branch 'master' into forwarding
NeloBlivion Feb 7, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add has_snapshot flag
  • Loading branch information
NeloBlivion authored Feb 6, 2025
commit cf98e47bb190feea3487cb9f32481193d1552eef
8 changes: 8 additions & 0 deletions discord/flags.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,14 @@ def is_voice_message(self):
"""
return 8192

@flag_value
def has_snapshot(self):
""":class:`bool`: Returns ``True`` if this message has a snapshot from message forwarding.

.. versionadded:: 2.7
"""
return 1 << 14


@fill_with_flags()
class PublicUserFlags(BaseFlags):
Expand Down
Loading