modified: app.py
modified: templates/user_contact.html
This commit is contained in:
2
app.py
2
app.py
@@ -996,7 +996,7 @@ def user_contact():
|
||||
))
|
||||
connection.commit()
|
||||
|
||||
flash("Your message has been submitted successfully! We'll process it and get back to you within 15 minutes via Discord DM.", "success")
|
||||
flash("Your message has been submitted successfully! We'll process it and get back to you within 15 minutes.", "success")
|
||||
|
||||
cursor.close()
|
||||
connection.close()
|
||||
|
||||
@@ -74,6 +74,8 @@
|
||||
height: 60px;
|
||||
border-radius: 50%;
|
||||
border: 2px solid #667eea;
|
||||
object-fit: cover;
|
||||
background: #2d3748;
|
||||
}
|
||||
|
||||
.user-details h5 {
|
||||
@@ -251,7 +253,9 @@
|
||||
|
||||
{% if user_info %}
|
||||
<div class="user-info-card">
|
||||
<img src="{{ user_info.avatar_url }}" alt="Avatar" class="user-avatar">
|
||||
<img src="{{ user_info.profile_picture or '/static/default_profile.png' }}"
|
||||
alt="Avatar" class="user-avatar"
|
||||
onerror="this.onerror=null; this.src='/static/default_profile.png';">
|
||||
<div class="user-details">
|
||||
<h5>{{ user_info.global_name or user_info.username }}</h5>
|
||||
<p><i class="fab fa-discord"></i> {{ user_info.username }}#{{ user_info.discriminator }} (ID: {{ user_info.id }})</p>
|
||||
@@ -274,7 +278,7 @@
|
||||
<h6><i class="fas fa-info-circle"></i> How it works</h6>
|
||||
<ul style="color: #a0aec0; margin: 0; padding-left: 1.5rem;">
|
||||
<li>Your Discord information is automatically included with your message</li>
|
||||
<li>Messages are sent directly to the bot administrator via Discord DM</li>
|
||||
<li>Messages are sent directly to the bot administrator</li>
|
||||
<li>We typically respond within 24 hours</li>
|
||||
<li>For urgent issues, please join our Discord server for faster support</li>
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user