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
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user