Unverified Commit 6f41082b authored by tec's avatar tec
Browse files

Adjust to new member role

parent ac44176a
...@@ -10,7 +10,7 @@ vote_pool_size: 8 # 4 exec + Fresher rep + 3 ocm ...@@ -10,7 +10,7 @@ vote_pool_size: 8 # 4 exec + Fresher rep + 3 ocm
vote_role: 269817189966544896 # @committee vote_role: 269817189966544896 # @committee
tiebreaker_role: 0 # No tiebreak apparently 635370432568098817 # @Presiding Presidenterino tiebreaker_role: 0 # No tiebreak apparently 635370432568098817 # @Presiding Presidenterino
unregistered_member_role: 674641042464833548 # @unregistered unregistered_member_role: 674641042464833548 # @unregistered
registered_member_role: 0 # does not exist registered_member_role: 692754285557055490 # @member
command_prefix: "!" command_prefix: "!"
...@@ -26,7 +26,6 @@ react_role_messages: ...@@ -26,7 +26,6 @@ react_role_messages:
- message: 674653014119809025 # Club-related - message: 674653014119809025 # Club-related
mapping: mapping:
uwa: 674254888221278226 uwa: 674254888221278226
uccl: 674255044006117386
🥤: 691852097003585577 🥤: 691852097003585577
cpu: 674255083063738368 cpu: 674255083063738368
🎮: 691852441091833896 🎮: 691852441091833896
......
...@@ -145,6 +145,10 @@ impl Commands { ...@@ -145,6 +145,10 @@ impl Commands {
"Unable to remove role: {:?}", "Unable to remove role: {:?}",
member.remove_role(&ctx.http, CONFIG.unregistered_member_role) member.remove_role(&ctx.http, CONFIG.unregistered_member_role)
); );
e!(
"Unable to add role: {:?}",
member.add_role(&ctx.http, CONFIG.registered_member_role)
);
e!( e!(
"Unable to edit nickname: {:?}", "Unable to edit nickname: {:?}",
member.edit(&ctx.http, |m| { member.edit(&ctx.http, |m| {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment