#ReAsk: Is there a way to pass a Data and Time through a SlashCommand

1 messages · Page 1 of 1 (latest)

tropic vector
#

There are no changes to the topic afaik

quasi hamlet
#

Alright

scenic scroll
#
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}");

tropic vector
#

Yes you can pass a string

scenic scroll
#

that code can easily be made into a slash command but also why

#

discord has date time logging

tropic vector
#

?