#development
1 messages · Page 317 of 1
mm
mercy
Will the numbers be updated within client.once?
are you reusing the same metrics
I want it to send the current metrics each interval
do you ever change the metrics array
try js setInterval(function () { const metrics = [{ metric: 'jr.guilds', points: [now, guilds] }, { metric: 'jr.users', points: [now, users] }, { metric: 'jr.largeGuilds', points: largeGuilds }, { metric: `jr.ram`, points: [now, ram] } ] dogapi.metric.send_all(metrics) }, 2000);
wouldn't redeclaring them each time be pointless?
If you dont redeclare they stay the same
Put all the declarations in the interval as well
also if you were to do this
setInterval(dogapi.metric.send_all(metrics), 2000)
it would have to be
setInterval(dogapi.metric.send_all, 2000, metrics)
mm ok
help with a custom prefix? got json done but startsWith isn't working
it's only beta
stilll
ill change it but imma need ur help then
k
soz for json but
if (!msg.content.startsWith(prefixes[msg.guild.id].prefix) && !msg.isMentioned(bot.user.id)) {return;}
error
and this is ```json
{"327897673078276096":{"prefix":"kb-"}}
noob af
it changes the prefix but no commands work
why this: js {return;}?
remove the {}
i need working on my bot with enabled fuctions
like i dont have place hsot it and only place i can is my old pc with 1gb ram but i have to disable radio and youtube player
host*
@vital lark
-botinfo @fair grail
See the server count?
So I have to show these guys how to make it?
Dank Memer has 12.3k servers & 12 shards
Pretty simple.
ye
yes
All the way on the top
no discord.js tho

o ok
FeelsBadMan
I'm assuming, because most old languages are incomplete.
from that programming language
and have a few stuff.
Or your knowledge are incomplete
i broken something XD
C:\Users\Grant\Documents\lunux files\testerbot\modules\admin\broadcast.js:24
for(var i=0; i<bot.client.guild.length; i++) {
^
TypeError: Cannot read property 'length' of undefined```
```javascript
if (isCommander(message.author.id)) {
var mes = message.content.split(" ").slice(1).join(" ");
for(var i=0; i<bot.client.guild.length; i++) {
message.channel.send(bot.client.guild[i].defaultChannel, mes);
console.log(mes)
}
}else {
message.channel.send("You are not a Owner of this bot! Access DENIED!")
}``` first error idk what do about 😦
yo @indigo notch do you know what i did wrong here
no i trying make broadcast command
ah
this was old code mine
my bot made from bot.client
sed bot. its bot.cleint
will this broadcast it
yeah
i try it eval
im using other bot
for testing
i dont want mass them over 60 servers
yet?
- SyntaxError: missing ) after argument list
for that
message.channel.send("test")```
oww
bot.client.guilds.forEach(message => {
message.channel.send("test")
});
- TypeError: Cannot read property 'send' of undefined``` @indigo notch
do you have it in ur msg event?
im on v11 djs
not called msg called message
and odes work
does*
watch for example
&!eval message.channel.send("test")
&!eval message.channel.send("test")
look testing
client.on('message', mes => {
client.guilds.forEach(m =>
m.defaultChannel.send('hi')
});
});```
well works @indigo notch but spammign as hell on it
dont want spam of it
all needs be send 1
like hi
not like hi 10x
@indigo notch some ideas for this less spam and only say once every command http://i.imgur.com/bN2t2lc.jpg
ke
not eval
@indigo notch 😛 http://i.imgur.com/hhZjLAe.jpg
noice
getting there
hey how can i so if someone says Chis then external emoji auto puts on but only coming from server what not partnered
so i can use my emoji on my bot when thy say Chis be like this
with my custom 1
@spare spruce Do you even realize that you are making the announcement every time someone sends a message anywhere the bot can see? Remove the bot.on("message") part and it won't do that.
Ok, what is better.
DM someone when the bot is missing write perms
or
Just not respond at all?
people get annoyed with DM's if its something they can't avoid or change, but not responding at all wont allow idiots to figure out how to use the bot
I silently fail it
As people in Guilds like this one cry they got a dm
And if dbot they just kick it
Collection no?
i think
Add system32 to your discord collections
wouldn't i do it same way but args have to be the number limit of a server id?
i thonk
eh
Hello can anyone help me for a Discord JS command pls ? I want to findAll channels "evil-vcs" and sendEmbed to all of these channels
( sorry for my english i'm French)
but when i do js bot.channels.findAll("name", "evil-vcs").sendEmbed( It says "sendEmbed is not a function"
use send
cuz u done something wrong before it
well findAll will return a collection of channels i guess
that all i found in docs
you are still forced to loop/iteration through that array to send in every channel
bot.channels.findAll("name", "evil-vcs").map(channel => channel.sendEmbed... etc )
^ or map them is kinda the iteration way
u can just do bot.channels.find('name', 'evil-vcs') i think that works
@fiery goblet that finds the first
i seen people send it all in the channel the bots in before
loop it
plus how many channels are named evil-vics?
now, three but, when my bot join a server it creates a channel named "evil-vcs"
bit odd
-bots PyroGameur
@north stone
@fiery goblet It's good thx a lot !! 😉
^^
wait... was it my way?
@tribal estuary
@modern latch
@runic aurora
@naive laurel
@kind dagger
<o<
find only returns one
yepp
i seen people post in moar than 1 inb4
what?
also permissions?
👌
yo how can i list users connected servers like --> bot.client.guilds.size <-- to like User for example &!serversconnected @spare spruce then prints out how many discord servers that user conected
or is it imposable
you can get users guilds from oauth but they have to link to you app first
@spare spruce you could check how many guilds the user is in where the bot is in too
^^
@vital lark great name
lol
thats usually better shown as <client>. to prevent confusion
yes
also true
xd
beep
cancer land
not secure connection established
connection includes @bitter sundial @fossil oxide and other 1k users
wew
no
henlo how to clone bot me wants to clone manataro and konata
@red spade
@dawn bay
@brazen yoke
@turbid belfry
@upbeat hill
@worn pasture
@grizzled canyon
damn
-bots
@brazen yoke
i remember the 2 olders versions of botrappa
original botrappa: hacked by the BPC
botrappa reborn: firemario doesnt host it anymore
also i gave feremerio the bot token of boatrappa reborn
i still have the original script of botrappa,
just a little modified for botrappa reborn
theres a command named meow on my old botrappa
now it just spams meow. but it should show a embed "meow"
which bot?
you
my bot?
You're a bot
oh
... followed by best bot ever usualy implies sarcasm 
i dont any selfbot
-bots
@cyan perch 
@vague horizon
-bots
@hushed snow
But it's not here yet 😦
-bots
@tired sleet
-bots
@hidden ore
-bots
@unique valve
I need someone that is good at MongoDB
@inner jewel if i do find() in a collection and there is no result, what is the output
¯_(ツ)_/¯
@earnest phoenix undefined i guess 
how2put somenthing in middle of page ;?
like not text align center
but like middle middle centered
an embed?
@spring prairie
-bots
@hushed snow
Any suggestions of which database I should go with for my bot?
looking through the chat, most people here are gonna respond with mongodb or rethinkdb
take a look at both and see what you think works best
@rapid trellis
wow Rethink actually looks really promising
I've been using mariadb for mine, found it easy to use and setup but I like the look of rethink and mongo
Ohh cool
cause thomas is bad
same
:?
I wanna make a MySQL provider to work with the SettingsProvider which Commando already has but I am lost af xD
This is gonna be a fun one
o commando
yeah
It's a personal preference of mine you can say 😄
-bots
This user has no bots
lol
-bots
@cyan perch 
@vague horizon
-bots
@quartz gulch
@twin merlin
I haven't used mongodb b4 @earnest phoenix ¯_(ツ)_/¯
-bots
@hushed snow
not approved yet 😭
-bots
@verbal cobalt
Anyone wanna join the Discord bots currency exchange program
"Discoin" for short
@cosmic plover
Honestly, I think it'll be WAY too hard to control/regulate.
@keen anvil we have a daily per-user limit and a daily total limit
@scenic crest why is arraybotto not here

Ok, so then I could just give myself the daily total limit every day and use it on mantaro
Lol
@cosmic plover it's too good for this site
The only way that this would work is if it was between large bots only and ran by the owners of them. You can't trust bot developers.
Bot devs, please use a less common prefix, please. Discord Bot List: https://goo.gl/9frZSW My Bots: https://goo.gl/htsRpn Become a Moose! Subscribe: http://b...
I'm looking to partner with other bot developers (preferrably for bots with currencies). I'm looking to create a global currency that can be used on any participating bots. This would be using an API which your bot would send a request to in order to deposit or withdrawl funds from user's accounts.
Send me a DM if you're interested
You can find more info here https://gist.github.com/heyitswither/2d26a1101e86d16008a90a5633f0d73a
You realize that API can be abused badly, like if the owner of the bot used the API to add 10M to all players
:/
which is why you need to contact first to be able to use it, gotta be trusted
^
That's true, I'm going to make it somewhat easy to reverse any of that if it happens
austinhuang has already made some sort of api for that
kind of
think it's on gitflub
flub
yes flub
i love that word
mine is a global currency, his is just something to use to convert to and from other currencies
also his api hurts my eyes
lol
you make get requests to start a transaction x.x
post requests make must more sense
@earnest phoenix is this the same project Austin's working on?
nope
okay
Compteting cross bot currencies...
Anyway my bot (dueutil) does have a global cash. Maybe I could be roped into another project.
-botinfo @hushed snow
omg i need that fucking bot
lol
What's going on Jarr?
Uh
nevermind
got it
wait
no
okay
so
How would I make it so that when someone mentions (without a prefix) my bot
the bot will say
"What do you need"
?
Its asthetic but i like it
okay
May I see a screenshot of someones bot code? ( i just want to see it, i know how to code )
i do tho
i can show you some of my code
and my bot
His name is Doorknob
How do you get to be a dev on here?
this server
You haven't even said what library you're using... 
wew another bot maker wanna be
Discord.js
Join the discord.js support server
oh you already are
have a look in the discord.js server
Rip
yeah XD
or sending lots of little messages 
I understand your pain as I was in a position myself where I didn't even know what NodeJS was or even how to code any arrays or anything
wow
But in a week I have made a multi purpose bot
thanks
- I know what Node.js is 2. I have been coding for like 2 years now
-bots Glossy
@vestal ridge
i own a bot
@umbral pelican why did you info my bot?
Im pretty new to javascript but ive been coding for a couple years now
lol, why not
Idk fam xD
-botinfo 264811613708746752
Please include a bot mention
oops
I'm planning on making a .mute and .unmute command etc but I don't have enough knowledge on creating roles etc yet
-botinfo @264811613708746752
Please include a bot mention
mmm yes, discord roles are a bitch
yeah
-botinfo @gilded plank
Also trying to solid my understand on using the music modules
luca...?
So I can impliment a music feature into my bot 😛
urgh, another moosic boat 😄
😦
Can you guys give me feedback on my code?
Depends
lol
😢
depends on?
Depends on what framework for starters xD
Are you using Komada?
nope
what do you want "feedback" on 
Well
idk
If it works then yeah it's okay haha
not really
as long as you don't use var
I hope you don't
I even set my prefix as a const, when I first coded it, set it as a var, worst mistake xD
ikr
mines a const too bro
If you want to see the code tell me
i have a github link
btw what environment/program do you use?
Anyone wanna help me with .react() on an embed? I've never done it before
no idea
idk
urmm. nice token kiddo
Jarr just get a new token or whatever mate
I haven't even gone on the code yet haha
huh?
please dont edit my bot
not you
well im talking to you
nobody is gonna use your token if you reset it...
okay
done
XD
meanie
but can you actually look at the code?
and give me feedback?
urmm, ignore bots
and invalid command messages are unnecessary
if (message.author.bot) return;
I use d.js
oh
i do as well
obviously
oh ok
hold up
How do i get the console log of 'Logged in as [blank]!' to be dynamic and be of the actual discord name of the bot
if that makes sense at all
client.user.username
console.log(`Logged in as ${client.user.username}`);

How long does it take to get your bot approved?
He uses IntelliJ and I use Atom 
i use Atom
Like 1~2 days
this one
in the github
lol no
okey

is lol all you can say Mayo?
every one of your messages ive seen has lol in it
if (message.content === '@Doorknob') message.reply('What do you need?');
this wont work
DO NOT MESSAGE JARR AT 3AM SO SCARY!!! (NOT CLICKBAIT) (GONE SEXUALLY WRONG?!?!!)
just not from the repo
Also, don't use unknown command messages
ik
:/
why not use unknown command messages?
help 
That is his help command?
Because it's annoying @spare fog
ik
ik but asks why not
IM NOT THAT GOOD OKAY
and Kanna doesn't like Unknown Command or I will smack your ass
cool
not that good at common sense
idc
also removed
use if (message.author.bot) return
use a command handler dude
that code is not updated
ik
if else >>>>>> command handler
case 'rules':
var embed = new Discord.RichEmbed()
.addField('No Spamming', '-')
.addField('No asking for ranks', '-')
.addField('Be respectful to everyone', '-')
.addField('Do not talk back to Staff, or you will be Kicked/Banned', '-')
.setColor('#2b24ff')
.setThumbnail(message.author.avatarURL)
message.channel.send({embed});``` kek
massive switch statements also work
im so confused help
XD
IDK XD :P :P
If you don't know, we can't help you
~~message.raw match {
}~~
wew
uwu
(node:12516) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 24): DiscordAPIError: Missing Permissions
anyone help?
@iron aurora the bot doesn't have permission to talk.
What is with the fucking kawaii emojis?
oo

stop plz
urgh kiddos
Yep!




with what
@iron aurora That means that somewhere in your bot, the bot doesn't have permission to do something, but it wasn't properly handled using .catch()
it could be anywhere
¯_(ツ)_/¯
¯_(ツ)_/¯
Nothing we can help you there, @spare fog ¯_(ツ)_/¯
(╯°□°)╯︵ ┻━┻
Yea
okey
It does if the bot is added here before accepting 
(node:12516) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 37): DiscordAPIError: Missing Access
how can i fix dis
depends what you're trying to do
its just sitting here and says missing perms and acces
You can check for permissions
clearly not lol
i kicked and readded bcus i gave it perms
i checked perms added them but it still says it
errors don't lie, it means its missing permissions to do something ¯_(ツ)_/¯
You aren't running any commands and it isn't trying to send any messages?
mhm
its clearly trying to do something ¯_(ツ)_/¯
im brand new to coding so idk
its stopped doing it
maybe ill restart
ill just restart, check back later and see if it is still doing it
its fixed, and i wasnt doing any commands
i gave it perms, it did it a few more times before it loaded and stopped
its doing it again
rip
-botinfo @crimson panther
335660688364011521
Ohana
7006
This, is a bot with your every day needs such as Youtube play, Memes, Server leaving and Joining Greetings, Questions, And more coming soon.
discord.js
1
No server count
@iron aurora
-botinfo @gilded plank
Quit boolean
😉
g!help
#265156361791209475 would be better
xD
ya ok
$help
- Can you use name+1@gmail.com (Any Gmail address with a + in its name) to register Discord?
- Can users Without an emaIl authorize oauth2?
DM/ping me answer
@earnest phoenix yes and yes
My email is a + and I use temp accounts to test my oauth
@sinful jolt without email???
@earnest phoenix ye I just did it again to make sure
oauth works just like a normal user
Shows up in authorized apps and all
now if your scope includes email idk but it does work for guilds , join and identity Scopes
anyone without email can oauth any scope
but if you have the email scope you can get the email and if it's verified or not
-botinfo @hushed snow
heck yeah
lol
Should i add a Feedback command so you can summit feedback without joining the support server?
you can, but 99% of feedback will be bs or memes
Just filter it so if it contains bad words and limit it per 12 Hours
Yo guys, I shifted to a VPS recently and my Discord Music bot isn't working anymore :/ It throws an unhandled error. The bot joins VC, his voice activity flickers and then bot crashes
Could it be opus or ffmpeg?
okay I'm pretty sure it's opus
it was working flawlessly on Windows :/
Ubuntu 16.04, NodeJS, Discord.js and uh
and no my music part isn't linked with MySQL
mysql
use windows™
no don't use Windows :/
LOL
fucking windows fag
gnu/linux is the future
linux has loads of errors and is a pain to use/connect to especially console only
if i could connect via teamviewer and use a gui or something it would be fine
yeah and windows uses like 5x times the resources a distro would use
also
not knowing what
screenis
not knowing how to setup a service for a bot
Lets avoid talking down to people because of small shit like an OS
The restart fixed it 😐
Buy it
Rip
I have the price as low as possible
But at the same time make a little money off it
I should pin that XD
Do it u wont
The like the last one the most
I like the second one
did you make these or find them? @earnest phoenix
Probably found them
Input:
Date()
Output:
Mon Jul 24 2017 19:07:57 GMT+0100 (BST)
Lol
As in shity 10min email accounts? No they don't
Some domains they do
I'm annoid because RIOT doesnt let me use my .space domain for my account
Bitymails.us for the win.
Why was my bot denied?
#moddy-mod-log
-bots jarr
This user has no bots
-botinfo @steel tree
-botinfo @gilded plank
whats dbl?
discord bot list lol
oh
luca is a minor
^ Banne
#306891333405245450 @earnest phoenix
@vital lark I'm sorry, it was my wrong
It's ok ;) <3
Rate my mini-project:
https://github.com/KararTY/DiscordTwitchAnnouncer
'DiscordTwitchAnnouncer' nice meme
Hey, what's that supposed to mean?
Anyone know the best way to get Shard information on Discord.io
Depends on how you shard
or switch to d.js and it's easy af
or switch to eris and its even easier
or dont shard at all
^
@earnest phoenix I'll be looking at that code Looks Siick
Well then. That's some interesting feedback.
Well there isnt ANY npm module for a Twitch Announcer so maybe turning this into a NPM module would be a good idea
could always be better haha
But i'll for sure be looking at the code to see how you do it
-botinfo @arctic cipher
That bot wasn't found
-botinfo @candid sluice
What is descriminator?
the # after the name
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<link rel="icon" href="/favicon.ico" type="image/x-icon">
</head>
<title>
ohlookitsderpy
</title>
<body>
<img src="images/derpy.png" alt="Derpy">
<h1>ohlookitsderpy</h1>
<h2>About Me</h2>
<p>Hello! I am ohlookitsderpy, and I code in JS, CSS and HTML. I have made a few bots for Discord!</p>
<script type="text/javascript">
var images = new Array();
function preloadImages(){
for (i=0; i < preloadImages.arguments.length; i++){
images[i] = new Image();
images[i].src = preloadImages.arguments[i];
}
}
preloadImages("derpy.png", "background.png");
</script>
</body>```
hmmmmmmmmm
it seems to render the text and icon in the center
ignore css
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<link rel="icon" href="/favicon.ico" type="image/x-icon">
</head>
<title>
ohlookitsderpy
</title>
<body>
<img src="images/derpy.png" alt="Derpy">
<h1>ohlookitsderpy</h1>
<h2>About Me</h2>
<p>Hello! I am ohlookitsderpy, and I code in JS, CSS and HTML. I have made a few bots for Discord!</p>
<script type="text/javascript">
var images = new Array();
function preloadImages(){
for (i=0; i < preloadImages.arguments.length; i++){
images[i] = new Image();
images[i].src = preloadImages.arguments[i];
}
}
preloadImages("derpy.png", "background.png");
</script>
</body>
thank you
do it like that
fixed it
good job
thanks me and @oak juniper are working on it™
Derpy, you should put a shadow or outline the text in black. On mobile the background is too light with the text
And could use padding on the top and bottom
just have it go str8 to the About me and $h!t
Pengu is down for dependencies update.... Don't panic if anyone even cares xD (Done: Back Up)
how nice http://i.imgur.com/qpVY20B.png
^
My ass is awesome
:/
my Memez are awesome
ovh ui is so shirt though
and DO is cheap and near me
and they're everywhere
and have awesome features
ovh control panel takes like 10 minutes to log into

how to use Discord Oauth
how to google 
i googled googie is meh
what I have now:
Xeon E5-1650v2 | 6c/12t | 3.5GHz/3.9GHz | 64GB DDR3 ECC 1333 MHz
or other option for a similar price:
Dual Xeon 5650 | 12c/24t | 2.66GHz / 3.06GHz | 72GB DDR3
Help me choose
lood avatar
Those threads tho
mmmmmm
I would go with the first one, the extra RAM is kinda pointless
Plus the first one looks like it has a better CPU
Single core performance would probably be higher too.
Anybody know how to restart your bot in python (or anything perhaps)?
Because every time I make a change I have to change the token xD
Hmm
In djs which run off of node, I have PM2, so all I do is run process.exit()
@drowsy wedge PM2
shell script
hio
and help
https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-16-04
5 May 2016 ... In this guide, we'll show you how to get started with Node.js on an Ubuntu 16.04 server.
... sudo apt-get install nodejs.
... sudo apt-get install npm.
https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-16-04
1 Nov 2016 ... Nginx installed, covered in How To Install Nginx on Ubuntu 16.04; Nginx ... Let's
get started by installing the Node.js runtime on your server.
https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-14-04
3 Dec 2014 ... How To Set Up a Node.js Application for Production on Ubuntu 14.04 ... app: The
server where we will install Node.js runtime, your Node.js ...
https://www.digitalocean.com/community/tags/node-js%3Ftype%3Dtutorials
How To Install and Configure Ghost on Ubuntu 16.04. 6 ... How To Install Node.js
on Debian 8 ... How to Deploy a Node.js App Using Terraform on Ubuntu 14.04.
https://www.digitalocean.com/community/tutorials/how-to-install-node-js-with-nvm-node-version-manager-on-a-vps
Here's our tutorial on installing Node.js with NVM on your cloud server. ... (Node
Version Manager) on a VPS. PostedJuly 19, 2013 388.6k views Node.js Ubuntu ...
@earnest phoenix
Tank you
thank*
im like about to blow
i install pm2 and its not a command !!!!
did you install it globally
how do i add the node_module pm2 please
https://www.npmjs.com/package/pm2
PM2 is a production process manager for Node.js applications with a built-in load
... npm is a builtin CLI when you install Node.js - Installing Node.js with NVM ...
https://www.digitalocean.com/community/tutorials/how-to-use-pm2-to-setup-a-node-js-production-environment-on-an-ubuntu-vps
10 Jan 2014 ... Use these instructions to setup an Ubuntu server to run Node.js applications, ...
Install PM2 by typing thr following at the command line:
https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-16-04
1 Nov 2016 ... Now we will install PM2, which is a process manager for Node.js applications.
PM2 provides an easy way to manage and daemonize ...
http://pm2.keymetrics.io/
Advanced process manager for production Node.js applications. Load balancer,
logs ... Guys just installed pm2 on my live server and hooked up to Keymetrics.
http://pm2.keymetrics.io/docs/usage/quick-start/
npm install pm2@latest -g ... pm2 stop serverone $ pm2 start app.js --node-args=
"--debug=7001" # --node-args to pass options to node V8 $ pm2 start app.js -i 0 ...
https://developers.digitalocean.com/documentation/
Access all the information you need to build on our API. Our documentation for
API, OAuth, and metadata is clearly organized and easy to use.
https://www.digitalocean.com/community
How To Install Matrix Synapse on Ubuntu 16.04. By oliverlumby. 1. 2. By
oliverlumby ... 5 DigitalOcean Load Balancer Use Cases. By Brian Boucheron. 4.
1.
https://developers.digitalocean.com/guides/
How To Use DigitalOcean Snapshots to Automatically Backup your Droplets ...
How To Use the API to Deploy Droplets From a Master Snapshot ... View Docs ...
https://www.digitalocean.com/community/tutorials
How To Use the MySQL One-Click Install Image for Ubuntu 16.04. 202 ... How to
Install Virtualmin with Webmin, LAMP, BIND, and PostFix on Ubuntu 16.04. 442.
https://www.digitalocean.com/community/tutorials/how-to-use-the-digitalocean-api-v2
24 Jun 2014 ... The first step to using the API is to generate a personal access token. ... The full
API documentation is available here: DigitalOcean API v2.0 ...
i dont get this
ike. For now, log on as the root user and follow these steps: Create the user with a folder in /home/safeuser/:
useradd -s /bin/bash -m -d /home/safeuser -c "safe user" safeuser
????
@earnest phoenix Maybe you shouldnt be using a VPS then?
really
Everyone starts somewhere, don't be an asshole. @earnest phoenix
Sorry boss.
lol
@earnest phoenix apt-get install pm2 if that's what you were looking for and just use root like the rest of us 
That is not how you install pm2
pm2 is an npm package
npm install pm2 --global
Welp I installed it with # 1. Add the PM2 repository signing key sudo apt-key adv --keyserver keyserver.ubuntu.com --recv D1EA2D4C # 2. Add the PM2 repository echo "deb http://apt.pm2.io/ubuntu stable main" | sudo tee /etc/apt/sources.list.d/pm2.list # 3. Update list of available packages sudo apt-get update # 4. Install PM2 sudo apt-get install pm2
eh










