if(-not$IsCoreCLR){# Import System.Drawing AssemblyTry{Add-Type-AssemblySystem.Drawing}Catch{Write-Error-Message"Failed to import System.Drawing assembly: $_"}}else{Write-Warning("You are using PSSlack in with .NET Core. Several features will not work:","Set-PSSlackConfig cannot serialize tokens or URIs","[System.Drawing.Color]::SOmeColor shortcut is not available"-join"`n`t")}