Safeguard
دليل خطوة بخطوة من أول إضافة البوتA step-by-step guide from adding the bot

طريقة الاستخدامHow to use

كل اللي محتاجه عشان تشغّل Safeguard وتحمي سيرفرك: من الإضافة والتسطيب لحد ضبط الحمايات ومتابعتها.Everything you need to run Safeguard and protect your server: from adding and setting it up to configuring and monitoring every protection.

فيديو الشرح الكامل

شاهد الفيديو اللي بيشرح البوت من أول إضافته لحد ضبط كل الحمايات.

ضيف البوت لسيرفرك

اضغط على إضافة البوت (أو استخدم الزر تحت) واختار السيرفر اللي عايز تحميه. لازم تكون صاحب السيرفر أو معاك صلاحية Manage Server.

  • سيب الصلاحيات المطلوبة زي ما هي (الصلاحية الكاملة Administrator هي الأضمن عشان البوت يمنع ويسترجع)
  • بعد الإضافة، البوت بيبعت رسالة ترحيب فيها أول أوامر
مهم جدًا: ارفع رتبة البوت لأعلى في قايمة الرتب (فوق أي رتبة عايز البوت يعاقب أصحابها). لو رتبته أقل من رتبة العضو، مش هيقدر يعاقبه.

التسطيب التلقائي (⁦/setup⁩)

اكتب /setup في أي روم. الأمر ده لصاحب السيرفر بس. هيظهر لك تأكيد، وبعد ما توافق البوت بيعمل لوحده:

  • كاتيجوري «نظام الحماية» في أعلى السيرفر
  • روم الحماية (الروم الفخ: ممنوع حد يكتب فيه)
  • روم سجل المخالفات (خاص بالإدارة)
بعد التسطيب العقوبة الافتراضية تايم اوت 24 ساعة والحماية مقفولة لحد ما إنت تشغّلها (الخطوة التالية).

افتح لوحة التحكم

اضغط لوحة التحكم من أعلى الصفحة، سجّل دخول بحساب ديسكورد، واختار السيرفر من «سيرفراتي». أو اكتب /panel جوه ديسكورد لو عايز لوحة سريعة.

  • نظرة عامة: حالة الحماية، روم الحماية وروم اللوج، العقوبة، اللغة، ووضع التجربة
  • الإعدادات: نوع الحماية والعقوبة والرومات
  • الحماية: حماية النوك (الرومات والرتب والبوتات...)
  • الاشراف التلقائي: فلترة الكلام والروابط والسبام
  • المشرفين والصلاحيات: مين يقدر يتحكم في البوت
  • الصحة: فحص جاهزية البوت
  • Active: سجل كل اللي حصل

شغّل روم الحماية (حسابات مخترقة)

فكرة روم الحماية بسيطة: الحسابات المخترقة بتنشر نفس الرسالة في كل الرومات، فلما حساب يكتب في الروم الفخ، البوت يعاقبه تلقائيًا ويحذف رسايله الأخيرة.

  • من الإعدادات اختار نوع الحماية: أي رسالة أو الصور الممنوعة فقط
  • اختار العقوبة: حظر دائم أو طرد أو تايم اوت
  • شغّل الحماية (هي مقفولة بعد التسطيب)
  • تأكد إن البوت شايف الروم وعنده صلاحية حذف الرسايل
ضيف مشرفينك من /adduser أو من تاب المشرفين، عشان لو كتبوا في الروم بالغلط ما يتعاقبوش.

جرّب بأمان (وضع التجربة)

قبل ما تشغّل العقوبات بجد، من نظرة عامة شغّل وضع التجربة. البوت بيسجّل اللي كان هيعمله في اللوج من غير ما يحذف أو يعاقب أي حد.

  • جرّب بحساب عادي (مش صاحب السيرفر ومش على الوايت ليست، لأنهم معفيين دايمًا)
  • راجع النتيجة في روم اللوج وفي تاب Active
  • لما تتأكد، اقفل وضع التجربة
وضع التجربة مش بيغطي كل حاجة: حماية «إضافة بوت» والاشراف التلقائي بيتنفذوا فعلًا حتى وهو شغال. ولا تنسى تقفله، وإلا الحماية الفعلية متشتغلش.

حماية النوك (Anti-Nuke)

من تاب الحماية (أو الأمر /antinuke) تحمي سيرفرك من اللي بيحاول يخرّبه: مسح رومات أو رتب، حظر وطرد أعضاء، إضافة بوتات غير موثوقة، تعديل اسم السيرفر وصورته...

  • لكل نوع حماية: تشغيله أو إيقافه، الحد المسموح قبل العقوبة، ونوع العقوبة
  • البوت يسترجع اللي اتمسح أو اتغيّر تلقائيًا
  • /antinuke toggle لتشغيل نوع أو إيقافه، و/antinuke status لحالة الحماية

الوايت ليست: الناس والرتب الموثوقة اللي مسموح لها تعمل الحاجات دي. استخدم /antinuke whitelist add للأشخاص وadd-role للرتب. صاحب السيرفر دايمًا معفي.

المشرفين والصلاحيات

عايز مشرف يتحكم في البوت من غير ما يبقى صاحب السيرفر؟

  • /adduser لإضافة مشرف، و/removeuser لإزالته
  • تاب المشرفين والصلاحيات في الداشبورد بتخليك تحدد لكل شخص أو رتبة يقدر يعمل إيه بالظبط

الاشراف التلقائي

من تاب الاشراف التلقائي اعمل قواعد تفلتر الرسايل (كلمات ممنوعة، روابط، دعوات، سبام...) وتحدد لكل قاعدة تحذير أو تايم اوت أو طرد أو حظر.

لو مش متأكد، ابدأ بقاعدة بعقوبة خفيفة (تايم اوت قصير) وراجع سجل Active كام يوم قبل ما تشدّد.

اتأكد إن كل حاجة سليمة (⁦/health⁩)

اكتب /health أو افتح تاب الصحة. بيفحص صلاحيات البوت وترتيب رتبته والرومات، وبيقولك لو في حاجة ناقصة وإزاي تصلحها (بيحذّرك كمان لو وضع التجربة لسه شغال).

تابع اللي بيحصل (Active)

تاب Active بيسجّل كل حاجة: مين عمل إيه، اتمنع ولا اتعاقب ولا اتسمح له، وليه. تقدر تفلتر بنوع النتيجة (اتمنع، اتعاقب، تجربة، مسموح، فشل...) وبالشخص.

اللغة وإعادة الضبط

  • /set-language لتغيير لغة البوت في السيرفر (عربي / English)
  • /reset أو تاب إعادة الضبط لإعادة ضبط جزء من نظام الحماية من غير ما تمسح الباقي
  • /help بيعرض كل الأوامر

مشاكل شائعة

  • البوت مش بيعاقب: غالبًا رتبته أقل من رتبة العضو، أو وضع التجربة شغال، أو الشخص على الوايت ليست، أو الحماية مقفولة
  • مش قادر أفتح لوحة سيرفر: لازم يكون البوت جواه وتكون صاحبه أو عندك صلاحية من تاب المشرفين
  • أمر مش ظاهر: استنى دقيقة وجرّب تاني، أو اتأكد إن البوت له صلاحية الأوامر في الروم
  • الحماية بتسترجع بس من غير عقاب: الحد المسموح للنوع ده لسه ما اتعداش (شوف «الحد» في تاب الحماية)

Full video walkthrough

Watch the video that explains the bot from adding it all the way to configuring every protection.

Add the bot to your server

Press Add the bot (or use the button below) and pick the server you want to protect. You need to be the server owner or have the Manage Server permission.

  • Keep the requested permissions as they are (Administrator is the safest so the bot can block and restore)
  • After joining, the bot sends a welcome message with the first commands
Very important: drag the bot’s role up in the role list (above any role whose members you want it to be able to punish). If its role is lower than the member’s, it cannot punish them.

Automatic setup (/setup)

Type /setup in any channel. Only the server owner can run it. You’ll get a confirmation, and once you agree the bot creates, by itself:

  • A “protection system” category at the top of the server
  • The protection channel (a trap channel nobody should post in)
  • A violations log channel (staff only)
After setup the default punishment is a 24-hour timeout and protection is off until you turn it on (next step).

Open the dashboard

Press Dashboard at the top of the page, sign in with Discord, then pick your server from “My Servers”. Or type /panel in Discord for a quick panel.

  • Overview: protection status, trap and log channels, punishment, language and dry-run mode
  • Settings: protection type, punishment and channels
  • Security: anti-nuke protection (channels, roles, bots…)
  • Auto-Moderation: filter words, links and spam
  • Moderators & Permissions: who can control the bot
  • Health: checks that the bot is ready
  • Active: a log of everything that happened

Turn on the trap channel (hacked accounts)

The idea is simple: hacked accounts spam the same message in every channel, so when an account posts in the trap channel the bot punishes it automatically and cleans up its recent messages.

  • In Settings choose the protection type: any message or banned images only
  • Choose the punishment: permanent ban, kick or timeout
  • Turn protection on (it’s off after setup)
  • Make sure the bot can see the channel and delete messages
Add your moderators with /adduser or from the Mods tab so they are not punished if they write there by mistake.

Test safely (dry-run mode)

Before enabling real punishments, turn on Dry-run mode from Overview. The bot logs what it would have done without deleting or punishing anyone.

  • Test with a normal account (not the owner and not whitelisted, since they are always exempt)
  • Check the result in the log channel and in the Active tab
  • When you’re happy, turn dry-run off
Dry-run does not cover everything: the “bot add” protection and Auto-Moderation still act for real while it is on. And remember to turn it off, otherwise nothing is actually enforced.

Anti-Nuke protection

From the Security tab (or the /antinuke command) you protect the server from people trying to wreck it: deleting channels or roles, mass bans and kicks, untrusted bots, changing the server name and icon…

  • Each protection type can be switched on or off, has its own allowed limit before punishment, and its own punishment
  • The bot restores what was deleted or changed automatically
  • /antinuke toggle turns a type on or off, /antinuke status shows the state

Whitelist: trusted people and roles allowed to do these things. Use /antinuke whitelist add for people and add-role for roles. The server owner is always exempt.

Moderators and permissions

Want a moderator to control the bot without being the server owner?

  • /adduser adds a moderator and /removeuser removes one
  • The Moderators & Permissions tab lets you decide exactly what each person or role can do

Auto-Moderation

From the Auto-Moderation tab create rules that filter messages (banned words, links, invites, spam…) and choose a warning, timeout, kick or ban for each rule.

If you’re unsure, start with a mild rule (a short timeout) and review the Active log for a few days before tightening it.

Make sure everything is healthy (/health)

Type /health or open the Health tab. It checks the bot’s permissions, role position and channels, and tells you what’s missing and how to fix it (it also warns you if dry-run is still on).

Follow what happens (Active)

The Active tab records everything: who did what, whether it was blocked, punished or allowed, and why. You can filter by outcome (blocked, punished, dry-run, allowed, failed…) and by person.

Language and reset

  • /set-language changes the bot’s language in the server (Arabic / English)
  • /reset or the Reset tab resets one part of the protection without touching the rest
  • /help lists every command

Common problems

  • The bot doesn’t punish: usually its role is below the member’s, dry-run is on, the person is whitelisted, or protection is off
  • Can’t open a server’s dashboard: the bot must be in it and you must be its owner or have access from the Mods tab
  • A command doesn’t show: wait a minute and try again, or make sure the bot can use commands in that channel
  • Protection restores but doesn’t punish: the allowed limit for that type hasn’t been exceeded yet (see “Limit” in the Security tab)

جاهز تبدأ؟

ضيف البوت وابدأ من الخطوة الأولى، ولو وقفت في أي حاجة سيرفر الدعم موجود.

Ready to start?

Add the bot and begin with step one. If you get stuck, the support server is there for you.