Skip to content

Commit

Permalink
tz: Remove the default response - this can be made better in a custom…
Browse files Browse the repository at this point in the history
… command
  • Loading branch information
Rosuav committed Jun 23, 2023
1 parent dcd18e0 commit b883a55
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions modules/tz.pike
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
inherit builtin_command;
constant active_channels = ({""});

mapping(string:string) timezones = ([]);

constant command_description = "Show the current time in a particular, or your default, timezone";
constant builtin_description = "Get the current date and time in a particular timezone"; //TODO: Or convert date/time
constant builtin_name = "Date/Time";
constant builtin_param = "Timezone name"; //TODO: And optional date
constant default_response = "It's currently {hour}:{minute} {weekday_short} in {tz}.";
constant vars_provided = ([
"{tz}": "Timezone in canonical form eg Australia/Melbourne",
"{unix}": "Unix time right now", //TODO: Or the date/time converted
Expand Down

0 comments on commit b883a55

Please sign in to comment.