ayn2op/discordo

*Feature Request* Time/Date Stamps on messages?

Closed this issue · 13 comments

Any chance we could get time/date stamps added to messages? :)

Set timestamps to true

Oh thanks - my apologies - I didn't know there was a config file!

I just found mine (on MX Linux) at /home/,config/discordo/config.yml

I've made changes to it, but when I open Discordo, the changes don't appear to have taken?

Set timestamps to true

Oh thanks - my apologies - I didn't know there was a config file!

I just found mine (on MX Linux) at /home/,config/discordo/config.yml

I've made changes to it, but when I open Discordo, the changes don't appear to have taken?

The extension is incorrect. The correct extension is toml.

Set timestamps to true

Oh thanks - my apologies - I didn't know there was a config file!
I just found mine (on MX Linux) at /home/,config/discordo/config.yml
I've made changes to it, but when I open Discordo, the changes don't appear to have taken?

The extension is incorrect. The correct extension is toml.

Mine literally says yml though and was autogenerated? I didn't create the config file, I just went with the extension that was already there? Is that a bug then?

EDIT - just tried changing the extension to toml and the program immediately crashes on launch...? Changed it back to yml and it works again...? This is with the most recent nightly pre-build.
Screenshot_2024-04-03_19-18-35

This thread also mentions the config file as being a yml?
#331

EDIT - just tried changing the extension to toml and the program immediately crashes on launch...? Changed it back to yml and it works again...? This is with the most recent nightly pre-build.

Are you building from source? The newer versions use TOML, not YAML. You are most likely on an older version. The file is no longer generated on startup in newer versions and TOML is used as configuration format instead of YAML.

EDIT - just tried changing the extension to toml and the program immediately crashes on launch...? Changed it back to yml and it works again...? This is with the most recent nightly pre-build.

Are you building from source? The newer versions use TOML, not YAML. You are most likely on an older version.

I am not building from source - I'm downloading the latest pre-built 'nightly' - or is that massively out of date somehow...?

I am not building from source - I'm downloading the latest pre-built 'nightly' - or is that massively out of date somehow...?

Weird. The prebuilt binaries are built from the main branch. Try building it from source.

I am not building from source - I'm downloading the latest pre-built 'nightly' - or is that massively out of date somehow...?

Weird. The prebuilt binaries are built from the main branch.

Odd....let me try deleting the yml temporarily to see if the program still launches (it doesn't when I rename it to toml

OK - tried deleting the yml and launching the program and it launched fine...didn't even ask me to log in again.

Will try copy-pasting the example config file and placing it with toml extension in the .config folder and see if it launches then.

That did it! :)

Deleting the yml file, and copy-pasting a fresh config from the main page and then saving it as config.toml to the .config/Discordo folder seems to have worked and my config changes are working now. Very strange! Maybe my old pre-built way back when I first got Discordo was from long enough ago it used yml and then when I downloaded more recent builds they were the toml builds and somehow that yml file was just leftover?

Pardon the quick n00b question - programming and vi / vim isn't my forte. Looking at the keybindings in the config file, what key is 'Rune' referring to? For example, the 'select reply' binding is 'Rune[s]' ...?

Pardon the quick n00b question - programming and vi / vim isn't my forte. Looking at the keybindings in the config file, what key is 'Rune' referring to? For example, the 'select reply' binding is 'Rune[s]' ...?

Rune just means character, so Rune[s] is the s key, Rune[k] is the k key, so on.

Pardon the quick n00b question - programming and vi / vim isn't my forte. Looking at the keybindings in the config file, what key is 'Rune' referring to? For example, the 'select reply' binding is 'Rune[s]' ...?

Rune just means character, so Rune[s] is the s key, Rune[k] is the k key, so on.

Ah, thanks so much mate, pardon my ignorance! :) Many thanks for all the hard work on this awesome program, and also the prompt replies!