diff options
| author | Andrew Lee <andrew@alee14.me> | 2025-03-29 17:20:25 -0400 |
|---|---|---|
| committer | Andrew Lee <andrew@alee14.me> | 2025-03-29 17:20:25 -0400 |
| commit | db6df8c2a3817a753a9b903feb6311c620a91a65 (patch) | |
| tree | 866153f9f2131e0d80bcef3b3c070723ba43515c /bot/src/events | |
| parent | f18f5fff1fd0b8336df464d6e6f62efbc29aa618 (diff) | |
| download | AleeBot-db6df8c2a3817a753a9b903feb6311c620a91a65.tar.gz AleeBot-db6df8c2a3817a753a9b903feb6311c620a91a65.tar.bz2 AleeBot-db6df8c2a3817a753a9b903feb6311c620a91a65.zip | |
New command; Removed "Message too long" for content field
Diffstat (limited to 'bot/src/events')
| -rw-r--r-- | bot/src/events/InteractionCreate.js | 2 | ||||
| -rw-r--r-- | bot/src/events/MessageDelete.js | 3 | ||||
| -rw-r--r-- | bot/src/events/MessageUpdate.js | 3 |
3 files changed, 3 insertions, 5 deletions
diff --git a/bot/src/events/InteractionCreate.js b/bot/src/events/InteractionCreate.js index 777ce39..5143594 100644 --- a/bot/src/events/InteractionCreate.js +++ b/bot/src/events/InteractionCreate.js @@ -15,7 +15,7 @@ export default { if (!command) return; try { - console.log(`[i] ${interaction.user.username} has executed ${command.data.name}`); + console.log(`[i] ${interaction.user.username} has executed ${command.data.name} at ${interaction.guild.name}`); await Analytics(command, interaction); await command.execute(interaction); } catch (e) { diff --git a/bot/src/events/MessageDelete.js b/bot/src/events/MessageDelete.js index 2f929d2..1823c09 100644 --- a/bot/src/events/MessageDelete.js +++ b/bot/src/events/MessageDelete.js @@ -33,8 +33,7 @@ export default { await deleteMessage.send({ embeds: [logEmbed], - files: [attachment], - content: 'Message content was too long to display in an embed.' + files: [attachment] }); } } catch (e) { diff --git a/bot/src/events/MessageUpdate.js b/bot/src/events/MessageUpdate.js index fa20b63..5bbee20 100644 --- a/bot/src/events/MessageUpdate.js +++ b/bot/src/events/MessageUpdate.js @@ -43,8 +43,7 @@ export default { await editMessage.send({ embeds: [logEmbed], - files: [attachment], - content: 'Message content was too long to display in an embed.' + files: [attachment] }); } } catch (e) { |
