Bug fixes
This commit is contained in:
3
index.js
3
index.js
@ -77,7 +77,6 @@ async function deleteLatestBotDMs(userId) {
|
||||
|
||||
client.once(Events.ClientReady, async () => {
|
||||
console.log(`Logged in as ${client.user.tag}`);
|
||||
await deleteLatestBotDMs('265334763324178433');
|
||||
});
|
||||
|
||||
client.on(Events.InteractionCreate, async interaction => {
|
||||
@ -86,7 +85,7 @@ client.on(Events.InteractionCreate, async interaction => {
|
||||
// Check if loggingChannel is set
|
||||
if (!data.loggingChannel) {
|
||||
return interaction.reply({
|
||||
content: 'You must set a logging channel first using `/setlogging`. Registration message not sent.',
|
||||
content: 'You must set a logging channel first using `/keys logging`. Registration message not sent.',
|
||||
ephemeral: true
|
||||
});
|
||||
}
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"messageId": null,
|
||||
"loggingChannel": null,
|
||||
"joinCutoff": "2025-06-07",
|
||||
"joinCutoff": "2025-08-07",
|
||||
"users": [],
|
||||
"keys": []
|
||||
}
|
||||
Reference in New Issue
Block a user