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