mirror of
https://github.com/WorldEditAxe/eaglerproxy.git
synced 2024-11-21 04:56:04 -08:00
implement #31
This commit is contained in:
parent
0ba352e6d3
commit
268d435f84
|
@ -139,11 +139,11 @@ export function sendMessageWarning(client: Client, msg: string) {
|
||||||
export function sendMessageLogin(client: Client, url: string, token: string) {
|
export function sendMessageLogin(client: Client, url: string, token: string) {
|
||||||
client.write("chat", {
|
client.write("chat", {
|
||||||
message: JSON.stringify({
|
message: JSON.stringify({
|
||||||
text: "Please go to ",
|
text: "Please open ",
|
||||||
color: Enums.ChatColor.RESET,
|
color: Enums.ChatColor.RESET,
|
||||||
extra: [
|
extra: [
|
||||||
{
|
{
|
||||||
text: "this website",
|
text: "this link",
|
||||||
color: "gold",
|
color: "gold",
|
||||||
clickEvent: {
|
clickEvent: {
|
||||||
action: "open_url",
|
action: "open_url",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user