summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-10-19 16:36:56 +0200
committerVolpeon <git@volpeon.ink>2021-10-19 16:36:56 +0200
commitf0ae49019b5758389a44477914b7e13b822e791a (patch)
tree9f2e6f2cd6e9aaed4a632a6c3733b532d191e139 /src/util
parentExclude dress (diff)
downloadferalbot-f0ae49019b5758389a44477914b7e13b822e791a.tar.gz
feralbot-f0ae49019b5758389a44477914b7e13b822e791a.tar.bz2
feralbot-f0ae49019b5758389a44477914b7e13b822e791a.zip
Code improvements
Diffstat (limited to 'src/util')
-rw-r--r--src/util/delay.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/delay.ts b/src/util/delay.ts
new file mode 100644
index 0000000..1fc86a2
--- /dev/null
+++ b/src/util/delay.ts
@@ -0,0 +1 @@
export default (ms: number) => new Promise((resolve) => setTimeout(resolve, ms));