imptype / serverless-chatgpt-discord-bot Goto Github PK
View Code? Open in Web Editor NEWServerless ChatGPT Discord bot hosted on Deta Space.
License: MIT License
Serverless ChatGPT Discord bot hosted on Deta Space.
License: MIT License
[Edit 2]
I wanted to try it by building the app myself but I can't, because it need to activate the developer mode. After searching about that, I had to learn, that the developer mode was disabled completely in January 2024 for new members and one can no longer apply for it.
So if you still have the rights, I would kindly ask you to update the app.
====
[Edit 1]
Sorry, didn't see there already were two issues with that same problem.
But this means it can only work when not using the space app from the app's discovery page but building it myself? Can you not update (or replace) the space app?
====
I followed your readme to run it online with installing the space app from the app's discovery page.
When I reach the point to visit <micro_url>/bot/api/dash/<discord_bot_token> to register the slash commands for the first time I only get the pop up message from the browser that says "undefined" and see an empty commands table.
The browser (Chrome & Firefox) console says
https://chatgpt-1-w***.deta.app/api/sync/MT***mw 404 (Not Found)
(anonymous) @ MT***mw:153
runtime:30 space runtime: successfully registered the service worker with scope: https://chatgpt-1-w***.deta.app/
I checked all keys, IDs, token twice. I even regenerated the token.
Also I wonder why there are two environment variables fields for the token - I filled both with the same token:
DISCORD_BOT_TOKEN (bot)
and DISCORD_BOT_TOKEN (main)
Can you please help me?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.