flashgnash / ordis

GNU General Public License v3.0
1 stars 0 forks source link

Roll command will no longer work when in DMs #8

Open flashgnash opened 5 days ago

flashgnash commented 5 days ago

As of adding the nickname printout to the roll command, it won't work in DMS as it will error when no server profile is found.

This can be fixed by replacing the .expect() with a if let statement, where if no server profile is present it defaults to the user's username