From f18eb1bf4280b421eb60e28e65fbed91a8649b8c Mon Sep 17 00:00:00 2001
From: Toastie <toastie@toastiet0ast.com>
Date: Tue, 16 Jul 2024 22:35:14 +1200
Subject: [PATCH] 'exexport will now send you the file in DMs, to avoid
 incident.

'exexport will now have a timestamped name along with the server id
---
 src/EllieBot/Modules/Expressions/EllieExpressions.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/EllieBot/Modules/Expressions/EllieExpressions.cs b/src/EllieBot/Modules/Expressions/EllieExpressions.cs
index 888901d..fab6775 100644
--- a/src/EllieBot/Modules/Expressions/EllieExpressions.cs
+++ b/src/EllieBot/Modules/Expressions/EllieExpressions.cs
@@ -397,7 +397,7 @@ public partial class EllieExpressions : EllieModule<EllieExpressionsService>
 
         var serialized = _service.ExportExpressions(ctx.Guild?.Id);
         await using var stream = await serialized.ToStream();
-        await ctx.Channel.SendFileAsync(stream, "exprs-export.yml");
+        await ctx.User.SendFileAsync(stream, $"exprs-export_{DateTime.UtcNow:yyyy-MM-dd-HH-mm-ss}_{(ctx.Guild?.Id.ToString() ?? "global")}.yml");
     }
 
     [Cmd]