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 () => {
|
client.once(Events.ClientReady, async () => {
|
||||||
console.log(`Logged in as ${client.user.tag}`);
|
console.log(`Logged in as ${client.user.tag}`);
|
||||||
await deleteLatestBotDMs('265334763324178433');
|
|
||||||
});
|
});
|
||||||
|
|
||||||
client.on(Events.InteractionCreate, async interaction => {
|
client.on(Events.InteractionCreate, async interaction => {
|
||||||
@ -86,7 +85,7 @@ client.on(Events.InteractionCreate, async interaction => {
|
|||||||
// Check if loggingChannel is set
|
// Check if loggingChannel is set
|
||||||
if (!data.loggingChannel) {
|
if (!data.loggingChannel) {
|
||||||
return interaction.reply({
|
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
|
ephemeral: true
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"messageId": null,
|
"messageId": null,
|
||||||
"loggingChannel": null,
|
"loggingChannel": null,
|
||||||
"joinCutoff": "2025-06-07",
|
"joinCutoff": "2025-08-07",
|
||||||
"users": [],
|
"users": [],
|
||||||
"keys": []
|
"keys": []
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user