Skip to content

Commit

Permalink
fix: move to a new application id
Browse files Browse the repository at this point in the history
to prevent potential issues with the original project
  • Loading branch information
jiriks74 committed Nov 9, 2023
1 parent 5fa1305 commit a76b1d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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(<filename>, true)`)
enable_line_number = false, -- Displays the current line number instead of the current project
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lua/presence/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit a76b1d7

Please sign in to comment.