mirror of https://gitlab.com/litecord/litecord.git
blueprints.channels: add dummy search route
This commit is contained in:
parent
02f2ee6943
commit
993a2f3b08
|
|
@ -453,3 +453,17 @@ async def create_ban(guild_id, member_id):
|
|||
}, **(await app.storage.get_user(member_id))})
|
||||
|
||||
return '', 204
|
||||
|
||||
|
||||
@bp.route('/<int:guild_id>/messages/search')
|
||||
async def search_messages(guild_id):
|
||||
user_id = await token_check()
|
||||
await guild_check(user_id, guild_id)
|
||||
|
||||
# TODO: implement route
|
||||
|
||||
return jsonify({
|
||||
'total_results': 0,
|
||||
'messages': [],
|
||||
'analytics_id': 'ass',
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue