aticie / ronnia

Twitch to osu!irc bot
Apache License 2.0
21 stars 1 forks source link

Ronnia conflict with osu-np bot #49

Closed miyuki-ts closed 10 months ago

miyuki-ts commented 10 months ago

The problem is if user use !np command the osu-np will do this in chat:

@!sender!, Now Playing: !artist! - !title! [!version!] Mapped by !creator!, Download: https://osu.ppy.sh/beatmapsets/!set-id!#osu/!id! @kamythol, Now Playing: LiSA - Rock-Mode [mode: 180BPM] Mapped by Smokeman, Download: https://osu.ppy.sh/beatmapsets/240756#osu/556307

but since ronnia check chat for beatmap links it will send !np as Now playing as a request beatmap LiSA - Rock-Mode [mode: 180BPM] - Request sent!

Either there need a condition that check if it's an !np command or even a request.

and then a option to change what the String output in chat would be. but that is optional, since it's your project and bot not mine :D

aticie commented 10 months ago

You can exclude users from the dashboard. If you add np-bot's nickname to the list, ronnia should ignore it.

miyuki-ts commented 10 months ago

You can exclude users from the dashboard. If you add np-bot's nickname to the list, ronnia should ignore it.

idk the nickname for it tho, since everytime i use the command is my own nickname in the chat

miyuki-ts commented 10 months ago

I will provide you the source so you understand better https://github.com/TheOmyNomy/OsuNowPlaying

aticie commented 10 months ago

By default, the bot should ignore messages from your own account. You should disable test mode. If that still doesn't work, you can try adding your own username to excluded users. IMG_0402

miyuki-ts commented 10 months ago

I use it locally on my pc, i just went into the config.ini file and Testmode = False, not i need a different account to test if the command still works or not.

aticie commented 10 months ago

Are you using https://github.com/aticie/ronnia-selfhost ?

miyuki-ts commented 10 months ago

yes

aticie commented 10 months ago

It's a bit different with the selfhost bot.

Just make sure to have: listen-to-self-message = False

If that does not work, try adding your twitch username to: excluded-users =

miyuki-ts commented 10 months ago

I did, but idk if i can test it, i went live and mute all sound, but now if i type !np nothing happens

miyuki-ts commented 10 months ago

rn it seems like none of the bot works

miyuki-ts commented 10 months ago

ok !np bot works and idk if ronnia work.

miyuki-ts commented 10 months ago

!np works if i do it on my own account but i cannot seem it to work on a different one

miyuki-ts commented 10 months ago

yeah it doesn't work for other users except myself for some reason.

miyuki-ts commented 10 months ago

so right now, !np works if i use my own account, and since i disable ronnia for streamer my own account it won't work but !np and ronnia does not work if i do it from a new account idk why image

miyuki-ts commented 10 months ago

another thing, to keep in mind, ppy actually update beatmap links, it is fixed on osu-np bot. so that works but for some reason only on my own streamer account not other people. but idk if ronnia fix the beatmap link thing

miyuki-ts commented 10 months ago

but i meant it work if i set my own account to true the self message, so that is prob not the problem, but idk what the issue is, it just does not work if someone else try to find out what beatmap i am on or want to do request.

aticie commented 10 months ago

so right now, !np works if i use my own account, and since i disable ronnia for streamer my own account it won't work but !np and ronnia does not work if i do it from a new account idk why image

The error text right here is informative.

For example, if you are using the ronnia-selfhost bot and osu-np bot on the same twitch account called wei, any messages coming from wei will be ignored by ronnia. This is what you wanted, right? Since you don't want np messages to become requests, it is ignoring messages from the wei account.

miyuki-ts commented 10 months ago

yeah it is, but i test it, by creating a new twitch account and it still does not work.

miyuki-ts commented 10 months ago

which means right now i can only make it work using my streamer account not the new one but i want other people to be able to use it too. in chat

aticie commented 10 months ago

Could you give an example of what's happening exactly? Please include screenshots of what you are doing, and what you want to achieve.

miyuki-ts commented 10 months ago

image

I have ronnia and osu!np bot open at same time running

I type !np command in chat on a account called chuuflow not my main account image

but nothing happens

I try to send a beatmap link in chat on a different account called chuuflow not my main account image

and nothing happens

if i do this process on my main account everything will work. so this is my main account image

i turn on ronnia for my main account for test purpose btw. that is why request instant sent even using !np command

if i send beatmap links it will work too on my main account image image and this is ingame works too. only on my main account. and I use my own account as sending to myself cuz osu! have rules 1 person only 1 account.

But it doesn't work on other than my main account idk why

miyuki-ts commented 10 months ago

so yeah, it does not work if someone what my stream, only i can send request and only i can use now playing command idk why

miyuki-ts commented 10 months ago

let me know what you think

aticie commented 10 months ago

I can't help with np-bot. You could try raising the issue on their repository OsuNowPlaying ?

From what I see, you have listen-to-self-message = True in your settings. And ronnia is working as expected.

I try to send a beatmap link in chat on a different account called chuuflow not my main account image

Ronnia should respond to the last message on here. If it doesn't, could you show what it outputs to the terminal after you send a beatmap link from chuuflow account?

miyuki-ts commented 10 months ago

for chuuflow account there is no output when i check that is why i didn't send an image since the terminal was the same as if i didn't type in chat.

miyuki-ts commented 10 months ago

for np-bot i ask them for issue

aticie commented 10 months ago

Do you see any logs for any other user's (for example NightBot's) messages?

aticie commented 10 months ago

It seems like for some reason both Ronnia and the np bot doesn't see the messages on your channel. Please double-check your TMI token and twitch username.

miyuki-ts commented 10 months ago

but if it doesn't see my token, it should not allow me to work.

miyuki-ts commented 10 months ago

and i also double check the tokens are correct otherwise i would not get the ingame messages

miyuki-ts commented 10 months ago

image I actually do for nightbot

miyuki-ts commented 10 months ago

interesting, i found something maybe useful. when i use my nightbot commands it does not work for other users.

miyuki-ts commented 10 months ago

image

miyuki-ts commented 10 months ago

and the thing is, all these bots work before, like in the past. so idk why it does not work now.

miyuki-ts commented 10 months ago

It's my issue. I ask my friend. he test it for me and it works perfect, I am sorry for the issue.