searchbot-discord/extensions/models/searchexceptions.py

18 lines
294 B
Python
Raw Permalink Normal View History

2020-03-24 23:09:01 +00:00
# -*- 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