fix/ensure-proper-sendError

This commit is contained in:
SowinskiBraeden committed 2023-09-02 19:25:17 -07:00
1 parent 1bc10658dc
commit 40ffeab665
34 files changed
+52 -57

No files matched your search

+2 -2
View File
@@ -6,7 +6,7 @@ module.exports = {
let guild = await client.GetGuild(guildId);
if (!client.exists(guild.connectionLogsChannel)) return;
const channel = client.channels.cache.get(guild.connectionLogsChannel);
const channel = client.GetChannel(guild.connectionLogsChannel);
let newDt = await client.getDateEST(data.time);
let unixTime = Math.floor(newDt.getTime()/1000);
@@ -40,7 +40,7 @@ module.exports = {
let guild = await client.GetGuild(guildId);
if (!client.exists(guild.connectionLogsChannel)) return;
const channel = client.channels.cache.get(guild.connectionLogsChannel);
const channel = client.GetChannel(guild.connectionLogsChannel);
if (!channel) return;
let unixTime = Math.floor(newDt.getTime()/1000);