-
Notifications
You must be signed in to change notification settings - Fork 964
Added poll to the Message object [Suggestion #2201] #1850
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
Closed
Closed
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
78413bd
add poll
Borbot33 20d6ff6
added poll
Borbot33 145471b
add poll to the message state
Borbot33 06e79e2
fix indentation
Borbot33 f07d3c9
Update helpers.go
Borbot33 68d0599
Update helpers.go
Borbot33 62062d3
build(deps): bump golang.org/x/net from 0.33.0 to 0.36.0 (#1854)
dependabot[bot] 57dc3ec
templates: prevent writing leading and trailing whitespace (#1855)
SoggySaussages 8147df4
Replace username triggers with globalname triggers as username trigge…
ashishjh-bst cbd5220
Disabled execCC for cron type custom commands (#1857)
ashishjh-bst 0db45cf
Fix automod not working on content that is query escaped (#1858)
ashishjh-bst 945a8a2
strip all invites from dms in message content (#1859)
ashishjh-bst 50fbdbe
added messages forwards to ticket transcripts (#1860)
ashishjh-bst acca6e2
Revert "templates: prevent writing leading and trailing whitespace (#…
ashishjh-bst 7d396e2
missed it when disabling for execCC (#1863)
ashishjh-bst 4dd808e
fixed issue with missing text from regular messages in ticket transcript
ashishjh-bst 4ebbca3
Fix typo in tmplRoleDropdownMulti web function name (#1867)
H1nr1 77ad3d8
templates: fix whitespace trim (#1862)
SoggySaussages 58cec0d
templates: add absolute math operator (#1864)
SoggySaussages 3d8bc35
dgo/dstate: add RoleSubscriptionData to Message struct (#1865)
48cf9e8
Reddit: add up/down vote counts to non-embed slow feed (#1866)
H1nr1 93e87cb
added fixed advice list (#1868)
ashishjh-bst c810828
web: also list stage channels in channel list (#1869)
l-zeuch 9529c13
since the advice api is back, added the list as a fallback (#1870)
ashishjh-bst 9fb5e5b
report: optionally mention roles upon report (#1871)
SoggySaussages d3ae4b9
templates: add suppress embeds to complexMessage(Edit) (#1873)
SoggySaussages 8947f5d
rolecommands: elaborate on cooldown message (#1876)
SoggySaussages 79b7179
cc/interactions: add response deferral (#1872)
SoggySaussages 0b1f155
build(deps): bump golang.org/x/net from 0.36.0 to 0.38.0 (#1874)
dependabot[bot] 220288c
discordgo: add v2 components (#1879)
SoggySaussages 68863cb
moderation: record moderator in audit log for bulk delete (#1878)
l-zeuch e099087
cc: attach long dcct output as file (#1881)
jo3-l abab907
Revert "discordgo: add v2 components (#1879)" (#1882)
ashishjh-bst 59a345d
customcommands: remove 1k limit on evalcc (#1883)
l-zeuch 12b554c
templates: properly edit message flags in tmplEditMessage (#1885)
l-zeuch b17b840
Fixes for patreon sending incorrect data in entitled cents (#1886)
ashishjh-bst 21d1b5f
Fixes to advanced automod's discord automod trigger (#1887)
ashishjh-bst b5244dd
general: add v2 components (#1884)
SoggySaussages 2d4412f
fixed missing string specifier in struct tag (#1888)
ashishjh-bst ce50ab5
templates: add ability to send v2 components (#1880)
SoggySaussages 9059182
added poll
Borbot33 fda212b
Merge branch 'dev' into add-poll-struct
Borbot33 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This won't work, take reference of messageForwards support, you'll also have to add helpers to convert poll to value from pointer when saving to state.
Reference PR
https://github.com/botlabs-gg/yagpdb/pull/1744/files#diff-07490940a040da9cec20ec7da7c3a8a1b62c3b90dae49a44aef9f40fa1c506a6