#ReAsk: Is there a way to pass a Data and Time through a SlashCommand
1 messages · Page 1 of 1 (latest)
Alright
if your mean the current date and time well
int year = currentDateTime.Year;
int month = currentDateTime.Month;
int day = currentDateTime.Day;
int hour = currentDateTime.Hour;
int minute = currentDateTime.Minute;
int second = currentDateTime.Second;
Console.WriteLine($"Year: {year}, Month: {month}, Day: {day}, Time: {hour}:{minute}:{second}");
Yes you can pass a string
that code can easily be made into a slash command but also why
discord has date time logging
?