You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
don't store token in module attribute, fix dep ref
Module attributes are evaluated at compile time. If a user builds the Nostrum dependency before setting up their config.exs file, they'll run into issues with the :nostrum config options. Additionally, if a user wants to change their token they would also have to recompile the app. There's no reason to store it in the module attribute, so lets get it directly from the app env to prevent all of this.
0 commit comments