TheByKotik / sbpp_discord

Listens forwards of bans, comms, reports and sends it to Discord webhooks.
https://sbpp.github.io
GNU General Public License v3.0
1 stars 0 forks source link

[Feature Request} Sourcebans Web URL in Embed #8

Closed shaikhnedab closed 3 years ago

shaikhnedab commented 3 years ago

What about adding Sourcebans Web panel URL in the Embed like this? Link

It directly takes the user to Web Panel Ban Submissions Page

May be you can add configurable input for each embeds which links to respective page on Web Panel.

crashzk commented 3 years ago

https://github.com/sbpp/discord-forward/pull/14

It would be interesting

TheByKotik commented 3 years ago

Implemented in 1.7.0-50. (If i understand you correctly)

crashzk commented 3 years ago

Version is working but I believe that is not it.

  44 "SourceBans++ Discord" (1.7.0-50) by Kotik. Fork of RumbleFrog, SourceBans++ Dev Team.

image

image

It would have to have a link to the sourcebans web interface, something like: image

TheByKotik commented 3 years ago

Discord requires specify protocol to make links clickable.

image

crashzk commented 3 years ago

Fixed it, added the protocol and still nothing.

image

image

TheByKotik commented 3 years ago

Fixed it, added the protocol and still nothing.

Have you reload the plugin?

crashzk commented 3 years ago

Yes, I restarted the server and even changed the map after the changes.

Accessing discord by cell phone is even more buggy, see print.

128586883-db05b180-487b-49c7-8079-6bbc98814aab

In any case I'll double check and restart the servers just to make sure.

TheByKotik commented 3 years ago

It's works for me, looks pretty strange. image image

TheByKotik commented 3 years ago

Accessing discord by cell phone is even more buggy, see print.

Now i see. Make sure config file was saved correctly, it's look like file wasn't be saved after edit. Because old value used. Then: sm plugins reload sbpp_discord

crashzk commented 3 years ago

all right now thanks. :smile:

image

crashzk commented 3 years ago

Just to finish and you can close the issues.

"Timezone shift"    ""      // Server timezone shift in seconds.

This cvar would be configured by default on which? I would like to configure it for my region, but I didn't quite understand how it works and such.

TheByKotik commented 3 years ago

Just to finish and you can close the issues.

"Timezone shift"      ""      // Server timezone shift in seconds.

This cvar would be configured by default on which? I would like to configure it for my region, but I didn't quite understand how it works and such.

This is just time shift for server time. You just must get server time zone (ex: +5 utc) and transform it to seconds (multiply for 60 and 60 again 5 * 60 * 60 = 18000 ). Discord required this for correcting timestamps. 1

crashzk commented 3 years ago

I believe this issues can be closed. It has already been implemented.