You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is quite similar to the fabled #18; as Ghostty is no longer in a private beta, there isn't much need to create the threads themselves anymore, but mostly just move them.
I've not figured out the exact details yet; I'll edit this as I do that. I also haven't determined the most convenient UX for this.
Some of these aren't necessarily related to bulk-moving, but for normally moving a single message too. While I should probably make a different issue for these, I'm lazy and am going to dump them here.
Update: approach three will not be tried, and approach two will be revisited after the next discord.py version arrives. See also: #157.
Stickers are not stored
Even the built-in Discord stickers aren't stored. Nitro stickers should be given the fake-nitro treatment described above; adding it to the server shall not be considered as there are very limited sticker slots available update: Webhooks cannot add stickers anyway.
VictimsUsers can't delete or edit moved messages
Not sure how long the Webhook survives, so this may not be possible in the first place.
Note to self: add notes about how PluralKit facilitates this here.
Replies are not stored
Fall-back to Markdown quote blocks, perhaps with a heading or two; this was the method used before Discord added replies.
Use an embed (similar to most bridges and PluralKit).
Storing the link that it is replying to would likely be difficult as you need the new one if it's moved, and the old one if it's not. Even worse if it's moved after the fact.
Forwards are not stored
Discord does not support nesting block-quotes, so I'm not sure what to do here. Perhaps faking block quotes with box-drawing characters might work...
Any link people in the server that the message was forwarded from would not be preserved; not much can be done on this front. Some code that was removed in #154 will need to be reintroduced if this is to be done.
Update: it seems like it is not possible to fetch the content of forwards from servers that the bot is not in.
Poll movement is lossy
Votes aren't moved
If Webhooks can vote, this can be done. Otherwise, this cannot be done.
This can probably be mitigated by checking if the poll has ended and fixing up the metadata (probably discord.Poll.expires_at) if so then calling discord.Poll.end on the new poll.
Update: this cannot be fixed as polls created by Webhooks cannot be ended manually.
Ghostty Bot deletes its Zig code blocks and entity mentions
Moving a message like #1234 results in Ghostty Bot deleting its entity mention before people have a chance to move Ghostty Bot's message. It also does not bring back the entity mention in the new place.
If the entity mention or code block is to be recreated rather than moved automatically, reactions to the old entity mention or code block ought to be preserved too.
The text was updated successfully, but these errors were encountered:
This is quite similar to the fabled #18; as Ghostty is no longer in a private beta, there isn't much need to create the threads themselves anymore, but mostly just move them.
I've not figured out the exact details yet; I'll edit this as I do that. I also haven't determined the most convenient UX for this.
Some of these aren't necessarily related to bulk-moving, but for normally moving a single message too. While I should probably make a different issue for these, I'm lazy and am going to dump them here.
Checklist:
VictimsUsers can't delete or edit moved messagesAs these items are completed (or have PRs open), their corresponding details section will also be collapsed.
Nitro emoji handling
[emoji-name](link-to-emoji-in-discord-cdn)
.discord.Emoji
which has deletion anddiscord.Client.get_application_emojis
.discord.Emoji
and emoji-related functions indiscord.Guild
.Update: approach three will not be tried, and approach two will be revisited after the next discord.py version arrives. See also: #157.
Stickers are not stored
Even the built-in Discord stickers aren't stored. Nitro stickers should be given the fake-nitro treatment described above;
adding it to the server shall not be considered as there are very limited sticker slots availableupdate: Webhooks cannot add stickers anyway.VictimsUsers can't delete or edit moved messagesNot sure how long the Webhook survives, so this may not be possible in the first place.
Note to self: add notes about how PluralKit facilitates this here.
Replies are not stored
Storing the link that it is replying to would likely be difficult as you need the new one if it's moved, and the old one if it's not. Even worse if it's moved after the fact.
Forwards are not stored
Discord does not support nesting block-quotes, so I'm not sure what to do here. Perhaps faking block quotes with box-drawing characters might work...
Any link people in the server that the message was forwarded from would not be preserved; not much can be done on this front.
Some code that was removed in #154 will need to be reintroduced if this is to be done.
Update: it seems like it is not possible to fetch the content of forwards from servers that the bot is not in.
Poll movement is lossy
Votes aren't moved
If Webhooks can vote, this can be done. Otherwise, this cannot be done.
Update: Webhooks can't vote.
Relevant documentation links: discord.Poll.answers, discord.PollAnswer.voters.
The timer is reset
Not sure if anything can be done about this one.
If the previous one can't be done, this should not be done to give people time to vote again.
Update: the previous one cannot be done.
Moving closed polls error
Full traceback
This can probably be mitigated by checking if the poll has ended and fixing up the metadata (probably
discord.Poll.expires_at
) if so then callingdiscord.Poll.end
on the new poll.Update: this cannot be fixed as polls created by Webhooks cannot be ended manually.
Ghostty Bot deletes its Zig code blocks and entity mentions
Moving a message like
#1234
results in Ghostty Bot deleting its entity mention before people have a chance to move Ghostty Bot's message. It also does not bring back the entity mention in the new place.If the entity mention or code block is to be recreated rather than moved automatically, reactions to the old entity mention or code block ought to be preserved too.
The text was updated successfully, but these errors were encountered: