thebaselab / codeapp

Building a full-fledged code editor for iPad
https://code.thebaselab.com
MIT License
2.95k stars 202 forks source link

Discord project #120

Closed a-delacerda1 closed 3 years ago

a-delacerda1 commented 3 years ago

Hello, I just recently got this app, and I was wondering if a simple hello world beta bot project will link with discord? I have not made a repository of my own, so I was wondering if that is possible

bummoblizard commented 3 years ago

Hello. I did a quick test and you should able install discord.py or discord.js with Python and Node.js. The server won't persist though as it will only run when the app is in the foreground.

Hello, I just recently got this app, and I was wondering if a simple hello world beta bot project will link with discord? I have not made a repository of my own, so I was wondering if that is possible

a-delacerda1 commented 3 years ago

I will be coding it in C++ so would there be a way?

On Wed, May 19, 2021 at 10:58 PM Ken Chung @.***> wrote:

Hello. I did a quick test and you should able install discord.py or discord.js with Python and Node.js. The server won't persist though as it will only run when the app is in the foreground.

Hello, I just recently got this app, and I was wondering if a simple hello world beta bot project will link with discord? I have not made a repository of my own, so I was wondering if that is possible

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/thebaselab/codeapp/issues/120#issuecomment-844667375, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT2IWUEXOQHMXJMIREPQ2HTTOSCEPANCNFSM45F4N3JQ .

-- Thank you Have a Wonderful Day Aeneas De La Cerda (620)-417-4701

bummoblizard commented 3 years ago

Not at the moment.

1) Code App doesn't have a local C++ runtime yet. 2) There isn't a Discord API wrapper written in C++ as far as I know.

It will also probably be far easier to code it with JS / Python as there's plenty of tutorials on them. I recommend using Node.js as the language is intended for server-side use.

a-delacerda1 commented 3 years ago

Cool, thanks!

On Wed, May 19, 2021 at 11:28 PM Ken Chung @.***> wrote:

Not at the moment.

  1. Code App doesn't have a local C++ runtime yet
  2. There isn't a Discord API wrapper written in C++ as far as I know

It will also probably be far easier to code it with JS / Python as there's plenty of tutorials on them.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/thebaselab/codeapp/issues/120#issuecomment-844677136, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT2IWUBEPD5ONLMMNZS6543TOSFWTANCNFSM45F4N3JQ .

-- Thank you Have a Wonderful Day Aeneas De La Cerda (620)-417-4701

a-delacerda1 commented 3 years ago

I hope that they will make one soon

On Wed, May 19, 2021 at 11:28 PM Ken Chung @.***> wrote:

Not at the moment.

  1. Code App doesn't have a local C++ runtime yet
  2. There isn't a Discord API wrapper written in C++ as far as I know

It will also probably be far easier to code it with JS / Python as there's plenty of tutorials on them.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/thebaselab/codeapp/issues/120#issuecomment-844677136, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT2IWUBEPD5ONLMMNZS6543TOSFWTANCNFSM45F4N3JQ .

-- Thank you Have a Wonderful Day Aeneas De La Cerda (620)-417-4701

luni-moon commented 3 years ago

Hello. I did a quick test and you should able install discord.py or discord.js with Python and Node.js. The server won't persist though as it will only run when the app is in the foreground.

Hello, I just recently got this app, and I was wondering if a simple hello world beta bot project will link with discord? I have not made a repository of my own, so I was wondering if that is possible

I would suggest using two devices, probably mobile, to test this, while keeping the terminal open with it running the discord bot, while the other is on discord. I have done this before. I realize that the issue creator wants C++ though, but this would still work the same way if and when this is added.

Not at the moment.

  1. Code App doesn't have a local C++ runtime yet.
  2. There isn't a Discord API wrapper written in C++ as far as I know.

It will also probably be far easier to code it with JS / Python as there's plenty of tutorials on them. I recommend using Node.js as the language is intended for server-side use.

I think there is, but if I am remembering incorrectly, it may have been the C wrapper, correct me if I am wrong. Thanks!

bummoblizard commented 3 years ago

There is indeed, see https://discord.com/developers/docs/topics/community-resources.

This means it might be possible when local C runtime is added to the app.

luni-moon commented 3 years ago

There is indeed, see discord.com/developers/docs/topics/community-resources.

This means it might be possible when local C runtime is added to the app.

I do not see a C API wrapper, only a few C++ wrappers and a C# wrapper. Am I missing it?

a-delacerda1 commented 2 years ago

It somewhat works. Now it is throwing that error.

bummoblizard commented 2 years ago

It somewhat works. Now it is throwing that error.

Can you show me the error?

a-delacerda1 commented 2 years ago

On Tue, Mar 29, 2022 at 9:54 PM Ken Chung @.***> wrote:

It somewhat works. Now it is throwing that error.

Can you show me the error?

— Reply to this email directly, view it on GitHub https://github.com/thebaselab/codeapp/issues/120#issuecomment-1082567005, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT2IWUHDKMW7RFUV5MB664DVCO64NANCNFSM45F4N3JQ . You are receiving this because you commented.Message ID: @.***>

-- Thank you Have a Wonderful Day Aeneas De La Cerda (620)-417-4701