actually save subscriptions

This commit is contained in:
Jill 2023-03-22 14:00:59 +03:00
parent 0668ad0a83
commit 4123a692b6
Signed by: oat
GPG Key ID: 33489AA58A955108
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
import { SlashCommandBuilder } from '@discordjs/builders';
import { CommandInteraction } from 'discord.js';
import { subscriptions, timeAnnouncements } from '../lib/subscriptions';
import { saveSubscriptions, subscriptions, timeAnnouncements } from '../lib/subscriptions';
module.exports = {
data: new SlashCommandBuilder()
@ -30,6 +30,6 @@ module.exports = {
content: `<#${interaction.channelId}> has been subscribed to \`${announcementType}\``
});
}
saveSubscriptions();
}
};