mirror of
https://github.com/polyjitter/searchbot-discord.git
synced 2024-08-14 22:46:55 +00:00
17 lines
294 B
Python
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
|