Compare commits

...

4 Commits

Author SHA1 Message Date
122eb38a47 Merge branch 'main' of https://gitea.31718216.xyz/fzzin/Hotodog-Discord-Bot
Some checks failed
Deno-Workflow / Deploy (push) Has been cancelled
2026-05-07 10:14:14 +02:00
fzzinchemical
267a27ec55 fix small issue, where no image is given, when postid is undefined or null. Updated packages. 2025-10-29 10:20:31 +01:00
chemical
bf3eba102a Update .gitea/workflows/deno-tests.yml 2025-10-29 10:05:54 +01:00
chemical
97761af214 Update .gitea/workflows/deno-tests.yml
Updated deno version
2025-10-29 10:04:39 +01:00
3 changed files with 4 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ jobs:
- name: Install Deno
uses: denoland/setup-deno@v2
with:
deno-version: v2.2.5
deno-version: v2.5.4
- name: Build step
run: "deno test --allow-net"
run: "deno test --allow-net --allow-env"

View File

@@ -9,6 +9,7 @@ import { commandRouter } from "@root/commands.ts";
import { EnvConst, loadConfig } from "@root/core/configLoader.ts";
const { promise, resolve, reject } = Promise.withResolvers<void>();
const env: EnvConst = loadConfig();
const client = new Client({

View File

@@ -20,7 +20,7 @@ export async function requestWorker(postRequestParams: PostRequestParameters) {
for (const post of response) {
embeds.push(
new EmbedBuilder()
.setTitle(post.id.toString())
.setTitle(post.id + "")
.setURL(post.file_url)
.setAuthor(
{