18 lines
416 B
Python
18 lines
416 B
Python
from discord.ext.commands import errors
|
|
|
|
|
|
class NotAModeratorError(errors.CheckFailure):
|
|
"""Raised when the user is not a moderator."""
|
|
|
|
|
|
class BannedError(errors.CheckFailure):
|
|
"""Raised when the user is banned."""
|
|
|
|
|
|
class ChannelDisabledError(errors.CheckFailure):
|
|
"""Raised when the channel is disabled."""
|
|
|
|
|
|
class NotOnCallError(errors.CheckFailure):
|
|
"""Raised when the user is not on a call."""
|