diff --git a/OkayegTeaTimeCSharp/Twitch/Config.cs b/OkayegTeaTimeCSharp/Twitch/Config.cs index 8c46c482..230dfeea 100644 --- a/OkayegTeaTimeCSharp/Twitch/Config.cs +++ b/OkayegTeaTimeCSharp/Twitch/Config.cs @@ -16,7 +16,8 @@ public static class Config public static List GetChannels() { - return new OkayegTeaTimeContext().Bots.Where(b => b.Id == 1).FirstOrDefault().Channels.Split().ToList(); + #error check, if done correctly + return new OkayegTeaTimeContext().Bots.Where(b => b.Username == Resources.Username).FirstOrDefault().Channels.Split().ToList(); } public static List GetNotAllowedChannels() @@ -29,4 +30,4 @@ public static List GetNotLoggedChannels() return Resources.NotLoggedChannels.Split().ToList(); } } -} \ No newline at end of file +}