await epsilon.client.editSite(editSiteForm);
// Create the main alpha/beta communities
- await createCommunity(alpha, "main");
- await createCommunity(beta, "main");
+ // Ignore thrown errors of duplicates
+ try {
+ await createCommunity(alpha, "main");
+ await createCommunity(beta, "main");
+ } catch (_) {}
}
export async function createPost(
export async function saveUserSettingsBio(api: API): Promise<LoginResponse> {
let form: SaveUserSettings = {
show_nsfw: true,
+ blur_nsfw: false,
+ auto_expand: true,
theme: "darkly",
default_sort_type: "Active",
default_listing_type: "All",
let bio = "a changed bio";
let form: SaveUserSettings = {
show_nsfw: false,
+ blur_nsfw: true,
+ auto_expand: false,
default_sort_type: "Hot",
default_listing_type: "All",
interface_language: "",