forked from adam/discord-bot-shtik
woops lol
This commit is contained in:
parent
39781397c3
commit
edc86af538
@ -15,10 +15,6 @@ public class TwitchSummon : Behavior
|
|||||||
//I think given the bot's (hopeful) ability to play nice with others - anyone can summon it anywhere
|
//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
|
//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?
|
//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 true;
|
|
||||||
}
|
|
||||||
|
|
||||||
public override async Task<bool> ActOn(Message message)
|
public override async Task<bool> ActOn(Message message)
|
||||||
{
|
{
|
||||||
|
@ -261,7 +261,7 @@ public class TwitchInterface
|
|||||||
public string AttemptJoin(string channelTarget)
|
public string AttemptJoin(string channelTarget)
|
||||||
{
|
{
|
||||||
client.JoinChannel(channelTarget);
|
client.JoinChannel(channelTarget);
|
||||||
return "o7";
|
return $"attempt join {channelTarget} - o7";
|
||||||
}
|
}
|
||||||
|
|
||||||
internal void AttemptLeave(string channelTarget)
|
internal void AttemptLeave(string channelTarget)
|
||||||
|
Loading…
Reference in New Issue
Block a user