Closed Djacon closed 2 years ago
Command is ready, if you approve my idea, I will send pull request
/info
was added as an example for subcommands when migrating to (/) commands. Having Discord server info and Codewars user info under the same command feels kind of awkward.
I'm not against adding a command to get information from Codewars. I have local commits to clean up /rankup
from last week, and we can add actual getUser
function in the codewars.ts
instead.
Okay, I moved my getUserInfo
function to the new /userinfo
command. Now the command should not affect your local changes too much
At the moment, the command performs the simple function of showing the user name and ID on the server. I find the command not so useful. Instead, we can create a function that will show a little info about the Codewars user. The information includes: username, rank, honor, leaderboard position, number of katas created, number of katas completed.
The information will be displayed like this: