b.Session.ChannelMessageSend(b.Message.ChannelID,fmt.Sprintf("New last bump time: %+v, expecting next bump at %+v",config.BumpTime.Format("15:04:05"),config.BumpTime.Add(2*time.Hour).Format("15:04:05")))
b.Session.ChannelMessageSend(b.Message.ChannelID,fmt.Sprintf("New last bump time: <t:%+v:t>, expecting next bump at <t:%+v:t>",config.BumpTime.Unix(),config.BumpTime.Add(2*time.Hour).Unix()))
fmt.Sprintf("This is a reminder that you have not verified with me and will be removed in %+v. You may reply to this message for verification instructions.",time.Until(v.Add(1*time.Hour))))
fmt.Sprintf("This is a reminder that you have not verified with me and will be removed at <t:%+v:t>. You may reply to this message for verification instructions.",v.Add(1*time.Hour).Unix()))
iftime.Since(v)>(time.Hour*1){
iftime.Since(v)>(time.Hour*1){
s.ChannelMessageSend(config.AdminChannel,fmt.Sprintf("%+v was removed.",m.Mention()))
s.ChannelMessageSend(config.AdminChannel,fmt.Sprintf("%+v was removed.",m.Mention()))
s.GuildMemberDeleteWithReason(config.GuildID,k,fmt.Sprintf("Unverified user %+v.",v))
s.GuildMemberDeleteWithReason(config.GuildID,k,fmt.Sprintf("Unverified user %+v.",v))
@ -188,7 +188,7 @@ func rejectVerification(s *discordgo.Session, u discordgo.User) {
deferlog.PanicSafe()
deferlog.PanicSafe()
st,_:=s.UserChannelCreate(u.ID)
st,_:=s.UserChannelCreate(u.ID)
ifst!=nil{
ifst!=nil{
s.ChannelMessageSend(st.ID,fmt.Sprintf("Your verification has been rejected. This means it did not clearly show your face, with your pinkie finger held to the corner of your mouth, or the photo looked edited/filtered. No filters will be accepted.\n\nPlease try again before %+v",time.Until(time.Now().Add(1*time.Hour))))
s.ChannelMessageSend(st.ID,fmt.Sprintf("Your verification has been rejected. This means it did not clearly show your face, with your pinkie finger held to the corner of your mouth, or the photo looked edited/filtered. No filters will be accepted.\n\nPlease try again before <t:%+v:t>",time.Now().Add(1*time.Hour).Unix()))