mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-05 17:51:27 +03:00
Make @davidjcralph happy
const
This commit is contained in:
@@ -18,7 +18,7 @@ module.exports = {
|
||||
* @returns {PresenceData}
|
||||
*/
|
||||
selectPresence: () => {
|
||||
let length = config.presence.presences.length;
|
||||
const length = config.presence.presences.length;
|
||||
if (length === 0) return {};
|
||||
|
||||
let num;
|
||||
@@ -33,7 +33,7 @@ module.exports = {
|
||||
num = current_presence;
|
||||
}
|
||||
|
||||
let {
|
||||
const {
|
||||
activity: name,
|
||||
status,
|
||||
type,
|
||||
|
@@ -1,7 +1,7 @@
|
||||
module.exports = {
|
||||
int2hex: (int) => int.toString(16).toUpperCase(),
|
||||
some: async (array, func) => {
|
||||
for (let element of array) {
|
||||
for (const element of array) {
|
||||
if (await func(element)) return true;
|
||||
}
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user