stuyy / katana Goto Github PK
View Code? Open in Web Editor NEWDeno Discord API primarily based on Discord.JS ▬▬ι═══════ﺤ
License: MIT License
Deno Discord API primarily based on Discord.JS ▬▬ι═══════ﺤ
License: MIT License
My bot is in 44 servers and it serves around 16k members.
Here is the error:
Download https://deno.land/x/katana/src/handlers/PRESENCE_UPDATE.ts
Download https://deno.land/x/katana/src/handlers/PRESENCE_UPDATE.ts
Download https://deno.land/x/katana/src/handlers/PRESENCE_UPDATE.ts
Download https://deno.land/x/katana/src/handlers/PRESENCE_UPDATE.ts
error: Uncaught TypeError: members is not iterable
for (const member of members) {
^
at resolveGuildMembersAndUsers (https://deno.land/x/katana/src/utils/resolvers.ts:110:24)
at default (https://deno.land/x/katana/src/handlers/READY.ts:40:23)
It would be great if you update the gateway and deno...
error: TS2740 [ERROR]: Type '{ title: string; }' is missing the following properties from type 'MessageEmbed': getTitle, setTitle, getType, setType, and 20 more.
embed: { title: 'hello' }
error: Uncaught TypeError: Cannot read property 'get' of undefined
const member = guild.members.get(author.id);
^
at buildMessage (https://deno.land/x/katana/src/utils/resolvers.ts:259:32)
at async default (https://deno.land/x/katana/src/handlers/MESSAGE_CREATE.ts:8:19)
Nest.land is a growing ecosystem of Deno modules. It is a blockchain based package-registry, meaning that any pushed module will stay online, and no one will be able to remove it. This is especially useful and important regarding the url-based imports in Deno and most importantly, security.
Even though Nest.land is in beta, it is really powerful and also faster than the github servers (deno.land/x) just rewrites the module url to raw.githubusercontent.com
.
I think it would be great to have Katana on Nest.land, since not changing the functions of a library (via updates, because the bot might go useless) is essential for bot developers.
More information is available on https://nest.land/docs
Discord link in ReadMe is invalid
What is the future plans for katana development it's been 5 months you did not release new updates we will love to see new updates.
error: Uncaught TypeError: Cannot read property 'id' of undefined
let user: User = client.users.get(author.id);
^
at buildMessage (https://deno.land/x/katana/src/utils/resolvers.ts:252:44)
at TextChannel.send (https://deno.land/x/katana/src/models/channels/TextChannel.ts:57:20)
I have been trying to do something similar in java but I can not parse the json of the discord web socket and I don't think i am even doing it right. Do you have any suggestion were I can find something to help me.
Thx
Yusuf
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.