question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add user.locale support

See original GitHub issue

Make sure you familiarize yourself with our contributing guidelines.

Summary

Discord provides an optional string field .locale on a user object that is currently not exposed through DSharpPlus.

Details

I’m using latest 4.0.0-nightly-00565 and looking at the master, there’s no support for this field. See locale field in docs: https://discordapp.com/developers/docs/resources/user#user-object

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Naamlooscommented, Feb 8, 2019

oopsie, didn’t see the PR that got merged

0reactions
Naamlooscommented, Feb 8, 2019

They should still be added imo, as oauth is still a WIP and it could be useful in some cases.

Read more comments on GitHub >

github_iconTop Results From Across the Web

UserLocale (microsoft-windows-international-core- ...
UserLocale specifies the per-user settings used for formatting dates, times, currency, and numbers in a Windows installation.
Read more >
Accessing user locale and timezone | Apps Script
Add -ons can access the locale and timezone of its user and the use that information to customize its interface and behavior.
Read more >
User Locale
The user locale displays date, time, currency, and number formats for each user. You can specify different user locales on a single machine....
Read more >
Localizing a Support app | Zendesk Developer Docs
In this tutorial, you'll localize the user interface of a Zendesk Support app. The app displays "Hello, World!" in different languages based on...
Read more >
Locales Overview
Locales control the formats for dates, times, currencies, addresses, names, and numeric values. We currently use International Components for Unicode (ICU) ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found