Help with D2BotChannel

04/01/2020 12:37 HyperX1234#1
Hi there,

I have seen that there are public games in which people put their channel to be able to follow their games. So far so good. I want my bot to join the channel so I can follow the games. This is my configuration.

Code:
var StarterConfig = {
	JoinChannel: "op namechannel", // Name of the channel to join
	FirstJoinMessage: "", // Message to say when first joining a channel, usually ".login"
	ChatActionsDelay: 2, // Seconds to wait in lobby before entering a channel

	// D2BotChannel settings
	Games: ["namegame-"], // List of games to look for. Example: Games: ["some baal-", "chaos run-"],
	Passwords: [""], // List of game passwords. Each array in Games array should have a matching element in Passwords. Use "" for blank pw.
	JoinDelay: 5, // Seconds to wait between announcement and clicking join
	FriendListQuery: 0, // Seconds between "/f l" retries. 0 = disable
The bot enters the channel, and when they announce the game on the channel, the bot does not join the game, it does nothing. I don't understand what I'm doing wrong.

I've tried to leave the games parameter blank:

Code:
Games: [""], // List of games to look for. Example: Games: ["some baal-", "chaos run-"],
This way, when they announce the game in chat, the bot only puts the number of the game, for example if they announce Baalrun-15, the bot tries to join game 15, without the Baalrun- in front.

Could you help me?
Thank you.
04/01/2020 13:37 onkelxlc#2
Games: ["Baalrun-"], and he should find it. Diablo in english?
04/01/2020 13:38 HyperX1234#3
I have the game in another language, not in english. Could that be?

Do I have to add friends to the game creator?

Being a public game, I do not have them in friends.
04/01/2020 14:39 onkelxlc#4
maybe language is a problem too
for channel i think you need him as friend

try pubjoin entry
04/01/2020 15:41 HyperX1234#5
Having it on the friends list does work, the problem is that I can't follow strangers.

It is rare that the bot cannot detect in channel chat when someone announces the game and join.

It detects the game number, but not the game name.

Thanks for your help.

I found this on the Internet, it says that d2botchannel is also used to read chat announcements.

D2BotChannel, is used to join games from both channel announcements and friend list announcements. That means that you can use this starter when want to join games that are runned on other computer. In this example we will join channel "KOLBOT" and our first message will be "I'm from other dimension".