Skip to content

Commit

Permalink
fix: import setTimeout from node:timers for Deno
Browse files Browse the repository at this point in the history
  • Loading branch information
kravetsone committed May 15, 2024
1 parent dc05fe8 commit dbc6e69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
* Media group collector plugin for GramIO
*/

import { setTimeout } from "node:timers";
import { type Bot, type ContextType, Plugin } from "gramio";

// TODO: remove it. Slow types fixes for JSR
/**
* This plugin collects `mediaGroup` from messages (**1** attachment = **1** message) using a **delay**
Expand Down

0 comments on commit dbc6e69

Please sign in to comment.