diff --git a/Behavior/TwitchSummon.cs b/Behavior/TwitchSummon.cs index 224d17c..e726065 100644 --- a/Behavior/TwitchSummon.cs +++ b/Behavior/TwitchSummon.cs @@ -11,16 +11,6 @@ public class TwitchSummon : Behavior public override string Trigger => "!twitchsummon"; - //TODO: Permission! anyone can summon from anywhere... anyone can summon to themselves. - //I think given the bot's (hopeful) ability to play nice with others - anyone can summon it anywhere - //HOWEVER, if not-the-broadcaster summons it, 1) all channel permissions to strict and 2) auto-disconnect on stream end - //i don't know if the twitch *chat* interface has knowledge of if the stream ends. maybe auto-disconnect after like 2 hours? - - public override bool ShouldAct(Message message) - { - return false; - } - public override async Task ActOn(Message message) { var ti = ProtocolInterfaces.ProtocolList.twitchs.FirstOrDefault(); diff --git a/appsettings.json b/appsettings.json index f7a96cc..24b056d 100644 --- a/appsettings.json +++ b/appsettings.json @@ -7,9 +7,10 @@ }, "AllowedHosts": "*", "DiscordTokens": [ - +"OTEzMDAzMDM3MzQ4NDkxMjY0.YZ4KVg.3tvmHHugxcz-8DKGRTi_tKr-Mxg" ], "TwitchConfigs": [ + { "clientId": "lp7x8wzzwqgbzwebmjtjbdlflcdn0s", "secret": "cmgiy2bfw6uul4snc94k38q4fheat4","username":"magnificentcharamote", "oauth": "oauth:143yx0iwgpwfd2ru5mesk6ovua3nwr"} ], "exchangePairsLocation": "assets/exchangepairs.json", "DBConnectionString": "Host=azure.club;Database=db;Username=user;Password=password"