Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion TimeZoneBot/Commands/BirthdayAllCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public BirthdayAllCommand(IBirthdayBusinessLayer birthdayBusinessLayer,
_logger = logger;
}

[SlashCommand("birthday-all", "Get the birthday for the specified user in their time zone.")]
[SlashCommand("birthday-all", "Get the birthdays for all users.")]

public async Task BirthdayAllSlashCommand(
[Summary("sort-by", "The method by which to sort the birthday list (defaults to Alphabetical sort by username)")] BirthdaySortOrder sortBy = BirthdaySortOrder.Alphabetical
Expand Down
4 changes: 2 additions & 2 deletions TimeZoneBot/Commands/BirthdayCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ public BirthdayCommand(IBirthdayBusinessLayer birthdayBusinessLayer,
_logger = logger;
}

[SlashCommand("birthday", "Get the birthday for the specified user in their time zone.")]
[SlashCommand("birthday", "Get the birthday for the specified user.")]

public async Task BirthdaySlashCommand(
[Summary("User", "The user whose current time will be shown")]
[Summary("User", "The user whose birthday will be shown")]
IUser user)
{
var member = Context.Guild.Users.FirstOrDefault(u => u.Id == Context.User.Id);
Expand Down
1 change: 1 addition & 0 deletions TimeZoneBot/Commands/SetDefaultTimeZoneCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public SetDefaultTimeZoneCommand(IConfigurationBusinessLayer configurationBusine
_logger = logger;
}

[DefaultMemberPermissions(GuildPermission.Administrator)]
[SlashCommand("set-default-time-zone", "Set the default time zone for birthday checks when members have not set their time zone.")]
public async Task SetDefaultTimeZoneSlashCommand(
[Summary("time-zone", "Time Zone ID (visit https://rardk64.com/timezones/ and set your time zone there).")] string timeZoneName
Expand Down
1 change: 1 addition & 0 deletions TimeZoneBot/Commands/SetReactionsEnabledCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public SetReactionsEnabledCommand(IConfigurationBusinessLayer configurationBusin
_logger = logger;
}

[DefaultMemberPermissions(GuildPermission.Administrator)]
[SlashCommand("set-reactions", "Set time reactions on/off.")]
public async Task SetReactionsEnabledSlashCommand(
[Summary("enabled", "True for ON, False for OFF")] bool isEnabled
Expand Down
2 changes: 1 addition & 1 deletion TimeZoneBot/appsettings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"Version": {
"VersionNumber": "7.2.1"
"VersionNumber": "7.2.2"
},
"Discord": {
"BotToken": "token",
Expand Down