1
트위터 용 채팅 봇을 만들고 싶습니다. 매우 사용자 친화적 인 양식으로 만들고 싶습니다. 이제 트위터 통신이 완료되었지만 이제는 양식이 초기화되지 않습니다. 도와주세요.Twitch Bot Form Wont Initialize
namespace TwitchBotForm
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
IrcClient irc = new IrcClient("irc.twitch.tv", 6667, "z_bot909", "oauth:dn2tixd1xd7krggyn49ztw08hmfjea");
irc.joingRoom("z_dog909");
irc.sendChatMessage("Startup Complete");
while (true)
{
string message = irc.readMessage();
string[] splitMessage = message.Split('#');
if (message.Contains("!info"))
{
irc.sendChatMessage("Please Keep all commands LowerCase I made this bot Myself and i think its pretty cool. do !Help for Commands");
}
if (message.Contains("!me"))
{
irc.sendChatMessage(splitMessage[1].Split(':')[0]); //Username
}
}
}
}
}