fixed <<here>> not mentioning
This commit is contained in:
parent
55c7740cef
commit
c7c3b14c2d
@ -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 `<<Role name>>`
|
|
||||||
+ 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
|
|
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -1316,7 +1316,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "reminder_rs"
|
name = "reminder_rs"
|
||||||
version = "1.3.4"
|
version = "1.3.5"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"Inflector",
|
"Inflector",
|
||||||
"async-trait",
|
"async-trait",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "reminder_rs"
|
name = "reminder_rs"
|
||||||
version = "1.3.4"
|
version = "1.3.5"
|
||||||
authors = ["jellywx <judesouthworth@pm.me>"]
|
authors = ["jellywx <judesouthworth@pm.me>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
|
@ -126,6 +126,7 @@ CREATE TABLE reminders.reminders (
|
|||||||
|
|
||||||
`time` INT UNSIGNED DEFAULT 0 NOT NULL,
|
`time` INT UNSIGNED DEFAULT 0 NOT NULL,
|
||||||
`interval` INT UNSIGNED DEFAULT NULL,
|
`interval` INT UNSIGNED DEFAULT NULL,
|
||||||
|
expires TIMESTAMP DEFAULT NULL,
|
||||||
|
|
||||||
enabled BOOLEAN DEFAULT 1 NOT NULL,
|
enabled BOOLEAN DEFAULT 1 NOT NULL,
|
||||||
|
|
||||||
|
@ -967,7 +967,7 @@ impl Content {
|
|||||||
if let Some(role) = guild.role_by_name(role_name.as_str()) {
|
if let Some(role) = guild.role_by_name(role_name.as_str()) {
|
||||||
role.mention()
|
role.mention()
|
||||||
} else {
|
} else {
|
||||||
role_name.as_str().to_string()
|
format!("<<{}>>", role_name.as_str().to_string())
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
String::new()
|
String::new()
|
||||||
|
Loading…
Reference in New Issue
Block a user