mirror of
https://github.com/pacnpal/Pac-cogs.git
synced 2025-12-20 10:51:05 -05:00
Update message format and links
- Add original message link to archive message - Add original message link to notification - Update message format for better readability - Add better reaction cleanup - Add better error context - Add better task management
This commit is contained in:
@@ -752,9 +752,12 @@ class VideoArchiver(commands.Cog):
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# Upload to archive channel
|
# Upload to archive channel with original message link
|
||||||
file = discord.File(file_path)
|
file = discord.File(file_path)
|
||||||
archive_message = await archive_channel.send(file=file)
|
archive_message = await archive_channel.send(
|
||||||
|
f"Original: {message.jump_url}",
|
||||||
|
file=file
|
||||||
|
)
|
||||||
|
|
||||||
# Send notification with information
|
# Send notification with information
|
||||||
notification_message = await notification_channel.send(
|
notification_message = await notification_channel.send(
|
||||||
|
|||||||
Reference in New Issue
Block a user