From be1d8436e6a97832eaa8e836327c732762b50a68 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 3 Oct 2021 17:58:19 +0200 Subject: [PATCH] Add quick discord chat exporter --- functions/discord_export.fish | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 functions/discord_export.fish diff --git a/functions/discord_export.fish b/functions/discord_export.fish new file mode 100644 index 0000000..6f17050 --- /dev/null +++ b/functions/discord_export.fish @@ -0,0 +1,8 @@ +function discord_export + if test -z "$DISCORD_TOKEN_BOT" + echo_error "\$DISCORD_TOKEN_BOT is not set." + exit 1 + end + + discord-chat-exporter-cli export -c" $argv" +end \ No newline at end of file