Questions tagged [pircbot]

PircBot is a Java framework for writing IRC bots quickly and easily

Links

11 questions
2
votes
1 answer

Creating a Bot for twitch chat. Getting a connection Error

I'm trying to make a bot for my twitch chat but i'm having some problems to connect to the chat with it. I read a bit about the library at: http://www.jibble.org/pircbot.php And tried to connect to my own chat but i'm getting an error. 1462989951913…
user3611818
  • 247
  • 2
  • 3
  • 13
1
vote
2 answers

Pircbot, problems with retrieving a full userList

Doing a twitchbot as a little hobby project and stumble om a little problem. I want to make a viewer list where it automatically shows when viewers enter my channel. The problem i got is that the list that is being retrieved only shows the bot. I…
user3611818
  • 247
  • 2
  • 3
  • 13
1
vote
1 answer

sendMessage to IRC channel with PircBot

I am in the process of making an IRC bot for practise but am stuck. I use the PircBot library as a base. I have the problem, that I can send messages to the channel as follows: public void onMessage(String channel, String sender, String login,…
anchuin
  • 33
  • 4
1
vote
0 answers

PircBot - Iterate a set of commands on every user

What I wish to do, is to get the user list when my bot joins a channel, and for it to create an instance of my custom user class. However, it doesn't seem to work. I am using Pircbot 1.5.0. Here's what I have for my onUserList and onJoin…
0
votes
1 answer

How do I read Twitch chat with PircBotX?

I am trying to read messages from a twitch channel using PircBotX and Java but something doesn't seem to be working properly. TwitchBot.java: import org.pircbotx.Configuration; import org.pircbotx.PircBotX; import…
1Poseidon3
  • 125
  • 1
  • 11
0
votes
1 answer

Using a loop to call different methods depending on which string is found

I'm using listeners provided by Pircbotx (https://github.com/pircbotx/pircbotx/wiki/Documentation) to detect when a command is found in Twitch chat, and I am trying to use a different method depending on which Command is called (format is !command).…
0
votes
1 answer

Pircbotx channel setMode() not working in main() method

I'm trying to set mode to an IRC channel but PircBotX doesn't seems to execute the command when called in the main method. The command executes when I send the message (!setRModePlus) that I have set up in the code. Where am I wrong with my…
jeriko
  • 5
  • 4
0
votes
0 answers

IRC Bot Android Studio using PircbotX

I am coding an IRC Bot using PircbotX library and without android studio it works perfectly. When I run my application, I got this error in my console: 2020-01-07 13:25:20.050 19323-19323/? W/ordwalrus.alit: Unexpected CPU variant for X86 using…
0
votes
1 answer

Java TwitchBot/PircBot can't read commands in a .txt file like it has to do

I start coding my own TwitchBot in java. The bot is working fine, so my idea was, to replace the hardcoded commands with variables. The commands and messages saved in a text file. BufferedReader Class: try { reader = new…
Hyku
  • 3
  • 1
0
votes
0 answers

Twitchbot: Checking if sender is op

I am currently working on making a fully custom and free twitchbot for my channel. I am currently in the making of it. I want to make so mods can easily use the kick/ban command with my bot. But I have tried "sender.isOp() == true" but as the…
-1
votes
1 answer

my bot doesn't accept my string array for mod. does anyone know whats wrong with it?

when "the_pvbro" wants to type a command in chat the bot doesn't allow him to use it. and i'm too lazy to make a new class for every new mod i add. so does anyone have an idea maybe how to do it differntly? import org.jibble.pircbot.*; public class…
Skalrayi
  • 13
  • 4