Giter Site home page Giter Site logo

typicalname500 / discord-bot-that-utilizes-fifteen.ai Goto Github PK

View Code? Open in Web Editor NEW
6.0 4.0 3.0 770 KB

This is a python/ C# discord bot that utilises POST requests made to https://fifteen.ai/app/getAudioFile which responds with wav files that are posted onto the server.

15-ai python csharp discord-bot fifteen wav-files

discord-bot-that-utilizes-fifteen.ai's People

Contributors

typicalname500 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

discord-bot-that-utilizes-fifteen.ai's Issues

Traceback (most recent call last):

Hello sir,
After not finding any link for communication, I decided to post here, but I probably made a mistake due to a funny mistake and lack of information so I didn't want to write it here. The problem is that even though I have done all the steps regarding TokenConfig I get an error like this that I don't understand why. I am a Java developer and know only the basics about python but I really want to add this bot to my server.
Thank you.

C:\Users\alier\AppData\Local\Programs\Python\Python39\python.exe C:/Users/alier/Desktop/Discord-bot-that-utilizes-fifteen.ai-Python/Discord-Bot1.py
Traceback (most recent call last):
File "C:\Users\alier\Desktop\Discord-bot-that-utilizes-fifteen.ai-Python\Discord-Bot1.py", line 26, in
data = json.load(json_file)
File "C:\Users\alier\AppData\Local\Programs\Python\Python39\lib\json_init_.py", line 293, in load
return loads(fp.read(),
File "C:\Users\alier\AppData\Local\Programs\Python\Python39\lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\Users\alier\AppData\Local\Programs\Python\Python39\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\alier\AppData\Local\Programs\Python\Python39\lib\json\decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Invalid \escape: line 1 column 114 (char 113)

Process finished with exit code 1

Hey x, say y" (Voice chat)

This will allow users to say "hey x, say y." in a voice chat and the bot will generate and say the response. This is more of a 1st step as the end goal will be to have the bot respond to voiced questions with the personality of the character.

500 error mitigation

Requests respond intermittently with errors from the API. The idea is to either set up a reliant connection or find another way maybe.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.