'exexport will now send you the file in DMs, to avoid incident.
'exexport will now have a timestamped name along with the server id
This commit is contained in:
parent
db83e6abc2
commit
f18eb1bf42
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue