GitLab now enforces expiry dates on tokens that originally had no set expiration date. Those tokens were given an expiration date of one year later. Please review your personal access tokens, project access tokens, and group access tokens to ensure you are aware of upcoming expirations. Administrators of GitLab can find more information on how to identify and mitigate interruption in our documentation.
verification_message.push(format!("Great, {}! Verification was successful. To proide friendly a introduction to yourself consider doing ",&full_member.username));
verification_message.push(format!("Great, {}! Verification was successful. To provide a friendly introduction to yourself, consider doing ",&full_member.username));
verification_message.push_mono(format!("{}set bio <info>",CONFIG.command_prefix));
verification_message.push_mono(format!("{}set bio <info>",CONFIG.command_prefix));
send_message!(
send_message!(
msg.channel_id,
msg.channel_id,
...
@@ -358,6 +358,13 @@ impl Commands {
...
@@ -358,6 +358,13 @@ impl Commands {
};
};
matchset_property{
matchset_property{
Ok(_)=>{
Ok(_)=>{
info!(
"Set {}'s {} in profile to {}",
&msg.author_nick(ctx.http.clone())
.unwrap_or(String::from("?")),
property,
value
);
ifproperty=="git"&&member.photo==None{
ifproperty=="git"&&member.photo==None{
letgit_url=Url::parse(&value).unwrap();// we parsed this earlier and it was fine
letgit_url=Url::parse(&value).unwrap();// we parsed this earlier and it was fine
matchgit_url.host_str(){
matchgit_url.host_str(){
...
@@ -374,11 +381,10 @@ impl Commands {
...
@@ -374,11 +381,10 @@ impl Commands {
),
),
)
)
.expect("Attempt to set member photo failed");
.expect("Attempt to set member photo failed");
}else{
info!(" ... and set profile photo to github photo")