Discord Bot Projects
  • Project Fatal
  • Where to begin?
  • QnA
  • Troubleshooting
  • Commands
    • Moderation
      • Autokick
      • Autorole
      • Ban
      • Kick
      • Clear
      • Lock
        • Unlock
      • Lockdown
        • Lift-Lockdown
    • Fun
      • Coinflip
      • pp
      • Simprate
      • Waifurate
      • Gayrate
      • Ship
      • Cuddle
      • Kiss
      • 8ball
      • Meme
      • Tease
      • Compatible
      • Garbage
      • Slap
      • Tweet
      • TruthorDare
      • Economy
        • Economy Give
        • Economy Shop
        • Economy Daily
        • Economy Work
        • Economy Inventory
        • Economy Purchase
        • Economy Balance
    • Loggings
      • Channels
      • Roles
      • Bans
      • Join/Leave
    • Music
    • Misc
      • Modulepanel
      • Level Rank
      • Ping
      • Botinfo
      • Serverinfo
      • Report
      • Avatar
      • Leveling
        • Leveling Rank
        • Leveling addXP
        • Leveling addLevel
        • Leveling removeXP
        • Leveling removeLevel
    • Games
      • Youtube
      • ttt
      • Chess
    • Random Pictures
      • Bird
      • Bunny
      • Cat
      • Dog
      • Kitten
      • Panda
      • Puppy
      • Squirrel
      • Zerotwo
    • Notes
  • Fatal Information
    • Change log
    • Terms of Service
    • Document Contributors
Powered by GitBook
On this page
  1. Commands
  2. Moderation

Lock

Locks the channel to prevent people from typing. Requires the "Administartor" permission to use.

PreviousClearNextUnlock

Last updated 2 years ago

The user isn't required to input all options, they are optional

The user isn't required to provide a reason if you leave the reason blank it will return as "None Provided". The user also doesn't need to mention the channel, if the channel isn't mentioned then the bot will lock the channel the command was executed in. You don't need a screenshot for this, you get the gyst.

If the user executes the command without the correct permission, it will throw an error.

The command will set both permissions for the @everyone role in the channel setting to;

You must make sure that when the channel is locked no other role will override the current permissions that have been set by Fatal, if this happens the channel lock will be completely useless.

Send Messages

View Channel