diff --git a/1.3.0-changelog b/1.3.0-changelog deleted file mode 100644 index f6efb3b..0000000 --- a/1.3.0-changelog +++ /dev/null @@ -1,44 +0,0 @@ -**Reminder Bot Update 1.3.0** - -- `help` command reworked: - + The help command now shows all information within Discord, rather than redirecting to an external website - + The help command has separate pages for different commands with examples, and detailed information on arguments - -- `timezone` command reworked: - + Timezone was a notoriously annoying command to use, so these changes will hopefully improve its usability - + Typing `$timezone` will now show you a list of the most popular timezones and the time in those timezones, to make it easy for many users to select their timezones - + If a timezone is not recognised, the bot will show you a list of 'similar' timezones by name, and the times in these timezones - + Outputs are more descriptive - -- `language` command reworked: - + Language has been made to look somewhat nicer and you can now use reactions to switch language - -- `timer` visual improvements: - + Some emojis have been added to the timer command - -- `restrict` visual improvements: - + Roles grouped by command and displayed as embed fields - -- `look` fixes: - + `$look all` has been removed, as this allowed users to check reminders in private channels - + Fixed a bug where channels would be ignored if other switches were provided - -- `remind` command reworked: - + Backend of this command completely reworked - + Fixed providing times in exact format not working if a day was provided but not a month/year - + This command supports bulk-setting reminders to multiple locations - -- `meridian`: new command: - + Allows you to change time displays between 12 hour format and 24 hour format - + Hence, `$clock 12` has been removed - -- General changes: - + More command outputs use embeds to look nicer - + More standard help outputs - + Remind commands now provide output that is more detailed - + Translations are now loaded from a JSON file included within the executable - + Reduced user caching by individually querying some attributes - + Roles can now be silently mentioned in reminder commands with `<>` - + Remind commands now support tts with `/tts`, and attachment uploading - + The number of days will show even if zero to improve clarity - + Dependencies updated to latest patches diff --git a/Cargo.lock b/Cargo.lock index 06d6f00..056c935 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1316,7 +1316,7 @@ dependencies = [ [[package]] name = "reminder_rs" -version = "1.3.4" +version = "1.3.5" dependencies = [ "Inflector", "async-trait", diff --git a/Cargo.toml b/Cargo.toml index 592e276..b24613f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "reminder_rs" -version = "1.3.4" +version = "1.3.5" authors = ["jellywx "] edition = "2018" diff --git a/create.sql b/create.sql index f111961..4c05d4a 100644 --- a/create.sql +++ b/create.sql @@ -126,6 +126,7 @@ CREATE TABLE reminders.reminders ( `time` INT UNSIGNED DEFAULT 0 NOT NULL, `interval` INT UNSIGNED DEFAULT NULL, + expires TIMESTAMP DEFAULT NULL, enabled BOOLEAN DEFAULT 1 NOT NULL, diff --git a/src/commands/reminder_cmds.rs b/src/commands/reminder_cmds.rs index 09f721b..cc47504 100644 --- a/src/commands/reminder_cmds.rs +++ b/src/commands/reminder_cmds.rs @@ -967,7 +967,7 @@ impl Content { if let Some(role) = guild.role_by_name(role_name.as_str()) { role.mention() } else { - role_name.as_str().to_string() + format!("<<{}>>", role_name.as_str().to_string()) } } else { String::new()