forked from adam/discord-bot-shtik
so abd at keeping these updated
Some checks failed
gitea.arg.rip/vassago/pipeline/head There was a failure building this commit
Some checks failed
gitea.arg.rip/vassago/pipeline/head There was a failure building this commit
This commit is contained in:
parent
ab16600463
commit
2223f82b58
@ -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<bool> ActOn(Message message)
|
||||
{
|
||||
var ti = ProtocolInterfaces.ProtocolList.twitchs.FirstOrDefault();
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user