diff --git a/app/services/discord/modules/discord-events.ts b/app/services/discord/modules/discord-events.ts index 4bba409..1eff94d 100644 --- a/app/services/discord/modules/discord-events.ts +++ b/app/services/discord/modules/discord-events.ts @@ -74,6 +74,7 @@ export default (bot: DiscordBot): void => { await event.guild?.setIcon(path); await bot.discord.user?.setAvatar(path); data.lastDiscordNickName = (await bot.getNickname()) ?? "Meta"; + await data.save(); await bot.setNickname( nicks[(Math.random() * nicks.length) | 0], event.name