mirror of
https://github.com/polyjitter/searchbot-discord.git
synced 2024-08-14 22:46:55 +00:00
Moving search to Qwant
This commit is contained in:
parent
19acae2abc
commit
391beaf422
6 changed files with 422 additions and 229 deletions
17
extensions/models/SearchExceptions.py
Normal file
17
extensions/models/SearchExceptions.py
Normal file
|
@ -0,0 +1,17 @@
|
|||
# -*- 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
|
Loading…
Add table
Add a link
Reference in a new issue