Merge pull request #237 from Starshine113/main

Add time switch was moved to to success message
This commit is contained in:
Astrid 2020-10-23 15:59:49 +02:00 committed by GitHub
commit 3f82447b04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,7 +105,7 @@ namespace PluralKit.Bot
// aaaand *now* we do the move
await _repo.MoveSwitch(conn, lastTwoSwitches[0].Id, time.ToInstant());
await ctx.Reply($"{Emojis.Success} Switch moved.");
await ctx.Reply($"{Emojis.Success} Switch moved to {newSwitchTimeStr} ({newSwitchDeltaStr} ago).");
}
public async Task SwitchDelete(Context ctx)