diff options
author | Volpeon <git@volpeon.ink> | 2021-10-19 16:36:56 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-10-19 16:36:56 +0200 |
commit | f0ae49019b5758389a44477914b7e13b822e791a (patch) | |
tree | 9f2e6f2cd6e9aaed4a632a6c3733b532d191e139 /src/util | |
parent | Exclude dress (diff) | |
download | feralbot-f0ae49019b5758389a44477914b7e13b822e791a.tar.gz feralbot-f0ae49019b5758389a44477914b7e13b822e791a.tar.bz2 feralbot-f0ae49019b5758389a44477914b7e13b822e791a.zip |
Code improvements
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/delay.ts | 1 |
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)); | |||