aiko-chan-ai / DiscordBotClient

A patched version of discord, with bot login & Vencord support
GNU General Public License v3.0
778 stars 54 forks source link

Notification hell #23

Closed Pokegali closed 1 year ago

Pokegali commented 1 year ago

When I log in with a bot token, I instantly get spammed with notifications coming from more than 200 servers and half of them have by default notifications for all messages. And I manually set the notifications to mentions only. I was wondering if there was an automated way of doing that or maybe it would be possible to save the settings? Because after rebooting the client, the notification hell starts again.

aiko-chan-ai commented 1 year ago

Set status dnd

aiko-chan-ai commented 1 year ago

image

Pokegali commented 1 year ago

Oh, ok, yeah that works. But is there any way to still receive some notifications after that? For example, when the bot is pinged, or on a few servers where explicitly want to have all notifications.

aiko-chan-ai commented 1 year ago

I don't currently save your settings to a file, but maybe in the future

Pokegali commented 1 year ago

Ok ok. Maybe this could be great, because it always resets the settings. I'm guessing it's because discord doesn't allow bots to do that. So if you could do that it would be a great addition I think, because you could also save opened dms maybe ? But if you can't it's okay, it's not critical.. Also talking about dms, there's this weird bug where sometimes it shows the bot itself in the list instead of the other person. Maybe I should open another issue for that though.

aiko-chan-ai commented 1 year ago

So if you could do that it would be a great addition I think, because you could also save opened dms maybe ?

very hard, this needs a database and I won't do it

Also talking about dms, there's this weird bug where sometimes it shows the bot itself in the list instead of the other person.

I dont quite understand what you mean 💀

Pokegali commented 1 year ago

Ok, I understand x)

And well, this is what I mean : image As you can see on the left there is twice the bot itself, but the dms are with other people (me and my alt) It happens when the bot sends a dm by itself, it makes it appear like that in the list

aiko-chan-ai commented 1 year ago

Can you make a video on how to do that? i tried but no error

Pokegali commented 1 year ago

You just need to send a dm without using the client Capture vidéo du 2023-04-26 20-12-48.webm

aiko-chan-ai commented 1 year ago

https://github.com/discord/discord-api-docs/blob/main/docs/Change_Log.md#api-and-gateway-v8 I'm handling this event (CHANNEL_CREATE) manually, which seems to be a problem. i will fix it soon

aiko-chan-ai commented 1 year ago

djs also got this error

aiko-chan-ai commented 1 year ago

@Pokegali fixed

Pokegali commented 1 year ago

Thanks ! x) I tried it on my side and it worked