improve logging api
This commit is contained in:
parent
ebc9230743
commit
bfb53d5c64
6 changed files with 7 additions and 7 deletions
|
@ -10,7 +10,7 @@ import {
|
|||
SlashCommandStringOption,
|
||||
} from "npm:discord.js@14.14.1";
|
||||
import { channel, log_from, SimpleResult, split_promise } from "./utils.ts";
|
||||
const log = (...args: unknown[]) => log_from(import.meta.url, ...args);
|
||||
const log = log_from(import.meta.url);
|
||||
|
||||
/**
|
||||
* Wraps a discord bot and implements required actions.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue