Archived
1
0
Fork 0
This repository has been archived on 2024-04-26. You can view files and clone it, but cannot push or open issues or pull requests.
akari-bot/modules/ask/tools/bugtracker.py
2023-04-08 13:22:26 +08:00

11 lines
389 B
Python

from .utils import fake_msg, AkariTool
from modules.bugtracker.bugtracker import bugtracker_get
async def bugtracker(input: str):
return await bugtracker_get(fake_msg, input)
bugtracker_tool = AkariTool(
name = 'Mojira',
func=bugtracker,
description='A tool for querying a bug on Mojira, Minecraft/Mojang\'s bug tracker. Input should be a Jira issue id, e.g. XX-1234.'
)