diff --git a/src/db/seeds/test_channel.ts b/src/db/seeds/test_channel.ts index 5a10616..cca377d 100644 --- a/src/db/seeds/test_channel.ts +++ b/src/db/seeds/test_channel.ts @@ -1,4 +1,5 @@ -import { Knex } from "knex"; +import { subscribe } from "diagnostics_channel"; +import { Knex, SchemaBuilder } from "knex"; const TABLE = "channels"; @@ -15,6 +16,27 @@ export async function seed(knex: Knex): Promise { { channel_id: "1204540472031322192", subscription_id: 1, + }, + { + channel_id: "819332348214247471", + subscription_id: 10 + }, + { + channel_id: "819325370087112747", + subscription_id: 10 + }, + { + channel_id: "819334448268181515", + subscription_id: 14 + }, + { + channel_id: "819325370087112747", + subscription_id: 14 + }, + { + channel_id: "918648963492618261", + subscription_id: 14 } + ]); }; diff --git a/src/db/seeds/test_sub.ts b/src/db/seeds/test_sub.ts index 2b447b2..60525bf 100644 --- a/src/db/seeds/test_sub.ts +++ b/src/db/seeds/test_sub.ts @@ -8,6 +8,7 @@ export async function seed(knex: Knex): Promise { // Inserts seed entries await knex(TABLE).insert([ + // pyrss guild { name: "BBC News · Home", url: "http://feeds.bbci.co.uk/news/rss.xml", @@ -62,5 +63,61 @@ export async function seed(knex: Knex): Promise { guild_id: "1204426362794811453", active: true }, + + // bot testing guild + { + name: "BBC News · Home", + url: "http://feeds.bbci.co.uk/news/rss.xml", + guild_id: "819325370087112744", + active: true + }, + { + name: "BBC News · World", + url: "http://feeds.bbci.co.uk/news/world/rss.xml", + guild_id: "819325370087112744", + active: false + }, + { + name: "BBC News · Entertainment", + url: "http://feeds.bbci.co.uk/news/entertainment_and_arts/rss.xml", + guild_id: "819325370087112744", + active: true + }, + { + name: "BBC News · Technology", + url: "https://feeds.bbci.co.uk/news/technology/rss.xml", + guild_id: "819325370087112744", + active: true + }, + { + name: "BBC News · Science & Environment", + url: "https://feeds.bbci.co.uk/news/science_and_environment/rss.xml", + guild_id: "819325370087112744", + active: false + }, + { + name: "BBC News · Health", + url: "https://feeds.bbci.co.uk/news/health/rss.xml", + guild_id: "819325370087112744", + active: true + }, + { + name: "BBC News · Politics", + url: "https://feeds.bbci.co.uk/news/politics/rss.xml", + guild_id: "819325370087112744", + active: false + }, + { + name: "BBC News · US & Canada", + url: "https://feeds.bbci.co.uk/news/world/us_and_canada/rss.xml", + guild_id: "819325370087112744", + active: false + }, + { + name: "TechRadar · Phones", + url: "https://www.techradar.com/uk/feeds/tag/phones", + guild_id: "819325370087112744", + active: true + }, ]); };