Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using twitchbot;
- namespace Plugins
- {
- [ApiVersion(0, 1)]
- public class Plugin : TwitchBot
- {
- public override Version Version => new Version(0, 1);
- public override string Name => "Example Plugin";
- public override void Initialize()
- {
- ChatRoom.UserJoinEvent += OnJoin;
- }
- private void OnJoin(object sender, ChatRoom.JoinEventArgs e)
- {
- ChatRoom.Instance.SendMessage(ChatRoom.Send + ChatRoom.Instance.channel + " :Welcome " + e.UserName);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement