mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-05 17:51:27 +03:00
Panel creation
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
module.exports = {
|
||||
int2hex: (int) => int.toString(16).toUpperCase(),
|
||||
some: async (array, func) => {
|
||||
for (let element of array) {
|
||||
if (await func(element)) return true;
|
||||
}
|
||||
return false;
|
||||
},
|
||||
wait: (time) => new Promise(res => setTimeout(res, time)),
|
||||
};
|
Reference in New Issue
Block a user