actually save subscriptions
This commit is contained in:
parent
0668ad0a83
commit
4123a692b6
|
@ -1,6 +1,6 @@
|
||||||
import { SlashCommandBuilder } from '@discordjs/builders';
|
import { SlashCommandBuilder } from '@discordjs/builders';
|
||||||
import { CommandInteraction } from 'discord.js';
|
import { CommandInteraction } from 'discord.js';
|
||||||
import { subscriptions, timeAnnouncements } from '../lib/subscriptions';
|
import { saveSubscriptions, subscriptions, timeAnnouncements } from '../lib/subscriptions';
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
data: new SlashCommandBuilder()
|
data: new SlashCommandBuilder()
|
||||||
|
@ -30,6 +30,6 @@ module.exports = {
|
||||||
content: `<#${interaction.channelId}> has been subscribed to \`${announcementType}\``
|
content: `<#${interaction.channelId}> has been subscribed to \`${announcementType}\``
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
saveSubscriptions();
|
||||||
}
|
}
|
||||||
};
|
};
|
Loading…
Reference in New Issue