diff --git a/plugins/discourse-narrative-bot/db/fixtures/001_discobot.rb b/plugins/discourse-narrative-bot/db/fixtures/001_discobot.rb index fda50b48299..527dfbe3c90 100644 --- a/plugins/discourse-narrative-bot/db/fixtures/001_discobot.rb +++ b/plugins/discourse-narrative-bot/db/fixtures/001_discobot.rb @@ -38,11 +38,15 @@ end bot.update!(admin: true, moderator: false) +bot.create_user_option! if !bot.user_option + bot.user_option.update!( email_messages_level: UserOption.email_level_types[:never], email_level: UserOption.email_level_types[:never] ) +bot.create_user_profile! if !bot.user_profile + if !bot.user_profile.bio_raw bot.user_profile.update!( bio_raw: I18n.t('discourse_narrative_bot.bio', site_title: SiteSetting.title, discobot_username: bot.username)