diff --git a/Dockerfile b/Dockerfile index 0375e509..08a0b721 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,6 +19,7 @@ WORKDIR /app # Copy manifests first for layer caching COPY Cargo.toml Cargo.lock ./ +COPY crates/ crates/ # Copy source, build script, tests, and supporting directories COPY build.rs build.rs diff --git a/Dockerfile.test b/Dockerfile.test index 202bd04d..6ec502ba 100644 --- a/Dockerfile.test +++ b/Dockerfile.test @@ -20,6 +20,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ WORKDIR /app COPY Cargo.toml Cargo.lock ./ +COPY crates/ crates/ COPY build.rs build.rs COPY src/ src/ COPY tests/ tests/ diff --git a/channels-src/discord/Cargo.lock b/channels-src/discord/Cargo.lock index 9fee443c..f25ce551 100644 --- a/channels-src/discord/Cargo.lock +++ b/channels-src/discord/Cargo.lock @@ -121,7 +121,7 @@ dependencies = [ [[package]] name = "discord-channel" -version = "0.1.0" +version = "0.2.0" dependencies = [ "ed25519-dalek", "hex", diff --git a/channels-src/discord/src/lib.rs b/channels-src/discord/src/lib.rs index acb0bb41..cdb6c515 100644 --- a/channels-src/discord/src/lib.rs +++ b/channels-src/discord/src/lib.rs @@ -642,6 +642,7 @@ fn poll_channel_mentions(channel_id: &str, bot_id: &str) { }, thread_id: None, metadata_json, + attachments: vec![], }); remember_processed_id(&mut recent_ids, &msg.id);