searchbot-discord/extensions/models/searchexceptions.py
2020-04-08 18:37:22 -04:00

17 lines
294 B
Python

# -*- coding: utf-8 -*-
# search exceptions
# Provides custom exceptions for the search cog.
"""Search Exceptions File"""
from discord.ext import commands
class SafesearchFail(commands.CommandError):
"""Thrown when a query contains NSFW content."""
pass
def setup(bot):
pass