From 9ddeff558bff9b0f93e0b094559ed60087014102 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20=C5=A0tefka?= Date: Thu, 9 Nov 2023 15:59:42 +0100 Subject: [PATCH] fix: move to a new application id (#23) to prevent potential issues with the original project --- README.md | 4 ++-- lua/presence/init.lua | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fe70930..29e3119 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ require("presence").setup({ auto_update = true, -- Update activity based on autocmd events (if `false`, map or manually execute `:lua package.loaded.presence:update()`) neovim_image_text = "The One True Text Editor", -- Text displayed when hovered over the Neovim image main_image = "neovim", -- Main image display (either "neovim" or "file") - client_id = "793271441293967371", -- Use your own Discord application client id (not recommended) + client_id = "1172122807501594644", -- Use your own Discord application client id (not recommended) log_level = nil, -- Log messages at or above this level (one of the following: "debug", "info", "warn", "error") debounce_timeout = 10, -- Number of seconds to debounce events (or calls to `:lua package.loaded.presence:update(, true)`) enable_line_number = false, -- Displays the current line number instead of the current project @@ -91,7 +91,7 @@ Or if global variables are more your thing, you can use any of the following ins let g:presence_auto_update = 1 let g:presence_neovim_image_text = "The One True Text Editor" let g:presence_main_image = "neovim" -let g:presence_client_id = "793271441293967371" +let g:presence_client_id = "1172122807501594644" let g:presence_log_level let g:presence_debounce_timeout = 10 let g:presence_enable_line_number = 0 diff --git a/lua/presence/init.lua b/lua/presence/init.lua index efdfebb..c913242 100644 --- a/lua/presence/init.lua +++ b/lua/presence/init.lua @@ -116,7 +116,7 @@ function Presence:setup(...) -- General options self:set_option("auto_update", 1) - self:set_option("client_id", "793271441293967371") + self:set_option("client_id", "1172122807501594644") self:set_option("debounce_timeout", 10) self:set_option("neovim_image_text", "The One True Text Editor") self:set_option("main_image", "neovim")