Skip to content

Commit

Permalink
Don't hoist disle alias role
Browse files Browse the repository at this point in the history
  • Loading branch information
Geobert Quach committed Feb 13, 2021
1 parent 15a1fba commit cbeeab7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 1.1.1
- Don't hoist "Dìsle Alias" role

# 1.1.0
- Removed old global alias management permission
- Global alias management permission tied to "Dìsle Alias" role created automatically
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "disle"
version = "1.1.0"
version = "1.1.1"
authors = ["Geobert Quach <geobert@protonmail.com>"]
edition = "2018"
description = "A Discord dice roller bot with alias management"
Expand Down
2 changes: 1 addition & 1 deletion src/discord.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ impl EventHandler for Handler {
let guild = ctx.cache.guild(guild_id).await.unwrap();
match guild
.create_role(&ctx.http, |r| {
r.hoist(true).mentionable(false).name(ALIAS_ROLE_NAME)
r.hoist(false).mentionable(false).name(ALIAS_ROLE_NAME)
})
.await
{
Expand Down

0 comments on commit cbeeab7

Please sign in to comment.