*i want to make an discord AI bot, but it says "File "/home/runner/SerpentineCharmingAutotote/venv/lib/python3.10/site-packages/discord/ext/commands/core.py", line 235, in wrapped
ret = await coro(args, **kwargs)
File "main.py", line 91, in ask
response = client2.message(message)
File "/home/runner/SerpentineCharmingAutotote/venv/lib/python3.10/site-packages/wit/wit.py", line 70, in message
resp = req(self.logger, self.access_token, 'GET', '/message', params)
File "/home/runner/SerpentineCharmingAutotote/venv/lib/python3.10/site-packages/wit/wit.py", line 42, in req
raise WitError('Wit responded with status: ' + str(rsp.status_code) +
wit.wit.WitError: Wit responded with status: 400 (Bad Request)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/runner/SerpentineCharmingAutotote/venv/lib/python3.10/site-packages/discord/ext/commands/bot.py", line 1350, in invoke
await ctx.command.invoke(ctx)
File "/home/runner/SerpentineCharmingAutotote/venv/lib/python3.10/site-packages/discord/ext/commands/core.py", line 1029, in invoke
await injected(*ctx.args, ctx.kwargs) # type: ignore
File "/home/runner/SerpentineCharmingAutotote/venv/lib/python3.10/site-packages/discord/ext/commands/core.py", line 244, in wrapped
raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: WitError: Wit responded with status: 400 (Bad Request)"
it says "raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: WitError: Wit responded with status: 400 (Bad Request)"
i wanted to bot answer the questions with command !ask
i want to ask a question
*i want to make an discord AI bot, but it says "File "/home/runner/SerpentineCharmingAutotote/venv/lib/python3.10/site-packages/discord/ext/commands/core.py", line 235, in wrapped ret = await coro(args, **kwargs) File "main.py", line 91, in ask response = client2.message(message) File "/home/runner/SerpentineCharmingAutotote/venv/lib/python3.10/site-packages/wit/wit.py", line 70, in message resp = req(self.logger, self.access_token, 'GET', '/message', params) File "/home/runner/SerpentineCharmingAutotote/venv/lib/python3.10/site-packages/wit/wit.py", line 42, in req raise WitError('Wit responded with status: ' + str(rsp.status_code) + wit.wit.WitError: Wit responded with status: 400 (Bad Request)
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/home/runner/SerpentineCharmingAutotote/venv/lib/python3.10/site-packages/discord/ext/commands/bot.py", line 1350, in invoke await ctx.command.invoke(ctx) File "/home/runner/SerpentineCharmingAutotote/venv/lib/python3.10/site-packages/discord/ext/commands/core.py", line 1029, in invoke await injected(*ctx.args, ctx.kwargs) # type: ignore File "/home/runner/SerpentineCharmingAutotote/venv/lib/python3.10/site-packages/discord/ext/commands/core.py", line 244, in wrapped raise CommandInvokeError(exc) from exc discord.ext.commands.errors.CommandInvokeError: Command raised an exception: WitError: Wit responded with status: 400 (Bad Request)"
it says "raise CommandInvokeError(exc) from exc discord.ext.commands.errors.CommandInvokeError: Command raised an exception: WitError: Wit responded with status: 400 (Bad Request)"
i wanted to bot answer the questions with command !ask
the app id is 809340537499014