How do I get my discord bot to play music from YouTube (without link)? - npm

I'm very new to this.
I've made a bot for discord and now i want it to play music from YouTube, without having to put in a link.
I'm using Heroku and am getting several errors, that I really need help with.
I have tried pushing it several times, but I'm unsure what else can do.
Dynos
Hope someone can help me :)

It looks like you may have forgotten to write the dyno to tell Heroku what to run. Try adding a Procfile to your project and name it "worker: node index.js". From what I understand, your second message says "missing script: start".

Related

A strange problem with the last step of the Oauth2 authentication

Well like the title suggest I am having a strange problem with the api oauth2.0 I wanted to play with the API in the sandbox before deploying live like any sane person to start pulling call recordings. Well when I was setting up the Oauth and it was a pain but I got to work, or at least I thought until it asked me to add an address for the sandbox profile after accepting all the other steps in order to go any father. Every time I tried to add the address from the zapier login window it kept telling me it failed to try again later. I thought no big deal I will just add it from the user profile and well what do you know that didn't work either. I than made a new extension with a new number and email to see if it was just the account that was messed up, or if the dev account couldn't use the api for whatever reason but again no dice same problems all the way down. I even tried using three different browser to see if anything would change but no dice (not like that really matters everything is chrome based these days). I am wondering if anyone else has had this problem, did I miss something really simple that I am clearly over looking since I am running on 4 hours of sleep for the last two days.
If anyone could help I would appreciate it, love a very tired programmer.
In case anyone runs into the same problems, make sure when making a POST request to ring central you put the paramotors in the body of the request.

How do I connect a ReactNative CLI to graphQL with apollo

Welp, I've been trying forever with the official docs, youtube tuts, other stack overflow posts, GitHub projects but no luck. I'm being required to do this but I haven't really got enough knowledge of js/reactnative and graphql (and im not given the time to learn) so maybe i've been missing something.
I've seen so many different ways on doing it but whenever i try to run those projects i just end up trying to fix stuff to make it run and end up not being able to.
I just want to print on screen a query to https://api.spacex.land/graphql/ , on a virgin react-native project.
Could someone show some working app/code? I'd upload mine but its just the project and a query on a side idk how to link anyway.

Sitefinity live site error

we just launched our new site YunGoal developed in sitefinity, but how ever we are constantly running into these error msgs with every few clicks, this is really interfering with our user experience, does anyone know what is causing this, We tried changing various settings, look for bugs on our pages all to no avail. we really appreciate any help we can get, thanks in advance.
You need to follow these instructions when using MySQL with Sitefinity:
http://docs.sitefinity.com/administration-persist-multilingual-fields-in-separate-tables-for-each-language

Cannot modify apps on Facebook

I create this topic because when I try to modify my facebook apps, I constantly get the following error :
Oops Something went wrong. We're working on getting this fixed as soon as we can. You may be able to try again.
I tried in Firefox and Internet Explorer to check if the problem was coming from my web-browser, and then I checked from a friends station, but I still get this error.
Just wanted to know if someone else had this problem ? Maybe I have to do something from my side ? Or can I just wait for Facebook team to solve this ?
Thank you in advance.
Bahan

iPhone up to date Twitter oAuth tutorial

Could someone please give me a single up to date tutorial for implementing OAuth with twitter. I have gone through so many tutorials I have lost count, and not a single one of them is up to date with the new xCode. I tried the MGTTwitter, but there is no tutorial for it. On his own website, where it gives link to tutorial, it just links you to this
http://ww35.2bros1blog.com/2010/07/switching-from-basic-to-xauth-with-mgtwitterengine-on-iphone/
So no idea that that is about
I tried
http://www.icodeblog.com/2010/09/16/dealing-with-the-twitter-oauth-apocalypse/
But I dont know how to add the static folders to xCode. I tried adding the targets, but nothing to add.
Tried following
http://mobile.tutsplus.com/tutorials/iphone/twitter-api-iphone/
However, it is out of date. When I run the app, using my consumer key and secret, when I click authorise, it just closes window, then brings up authorisation window again. I enter user and pass again, does the same thing over and over again.
I downloaded latest version of sharekit, didnt really want to go down this root as all I want is the twitter authorisation and I think adding over 50 files or so is a bit much for one feature, but thought I would give it a shot. But when I open it up, comes up with error around facebook
(null): error: /Users/adam/Downloads/ShareKit-ShareKit-7a05403/Classes/ShareKit/Sharers/Services/Facebook/../../../../../Submodules/facebook-ios-sdk/src/FBDialog.bundle: No such file or directory
All I want is a simple authentication so users can accept and then send tweets from the app. I dont want to use the twitter framework as then users have click send twice, i.e type message into textview, then then twitter viewcontroller appears, then they click send again. I want them to be able to tweet from within the app. Yet I just cannot seem to find any tutorial that explains how to do this in detail.
Could someone please point me in the direction of a tutorial that does this, I didnt think it would be this much hassle to implement a simple authorisation into iPhone, but this is driving me insane!!!
Edit:
I got
http://www.icodeblog.com/2010/09/16/dealing-with-the-twitter-oauth-apocalypse/
This one working, however when I sign in, app crashes and the log says
Authenticated with user (null)
Anyone have any idea about that one?
Found out why I was having a problem with these twitter tools. They were using http rather than https to authenticate with Twitter which is no longer allowed. Just changed it to https and works fine