Spaces:
Runtime error
Runtime error
Update index.js
Browse files
index.js
CHANGED
|
@@ -1255,7 +1255,6 @@ client.on('interactionCreate', async (interaction) => {
|
|
| 1255 |
if (interaction.isChatInputCommand()) {
|
| 1256 |
try {
|
| 1257 |
logTransaction(client, interaction.commandName, interaction.user, interaction.guild, interaction.member);
|
| 1258 |
-
} catch (e) { console.error("Log error:", e); }
|
| 1259 |
|
| 1260 |
if (interaction.commandName === 'ping') {
|
| 1261 |
await safeReply(interaction, `Latency: ${client.ws.ping}ms`);
|
|
|
|
| 1255 |
if (interaction.isChatInputCommand()) {
|
| 1256 |
try {
|
| 1257 |
logTransaction(client, interaction.commandName, interaction.user, interaction.guild, interaction.member);
|
|
|
|
| 1258 |
|
| 1259 |
if (interaction.commandName === 'ping') {
|
| 1260 |
await safeReply(interaction, `Latency: ${client.ws.ping}ms`);
|