diff --git a/app/logical/discord_slash_command/post_embed.rb b/app/logical/discord_slash_command/post_embed.rb index e6570c409..e19c26236 100644 --- a/app/logical/discord_slash_command/post_embed.rb +++ b/app/logical/discord_slash_command/post_embed.rb @@ -61,7 +61,7 @@ class DiscordSlashCommand end def is_nsfw_channel? - command.channel.fetch("nsfw") + command.channel.fetch("nsfw", false) end end end