#development
1 messages ยท Page 469 of 1
I've never used DBM and it has no public documentation.
Maybe you should go to their server and ask them for it?
paying $10 for a app to make discord bots..
idk about dbm either
when you can learn to code for free
I have, but im just looking for a developer who can create this for me, in python or whatever
what
dbm uses discord.js
I didn't pay for it, I cracked it


but first you need to save the channel id of the command, and check if messages match the channel id
then you rule out the digits
XD TOM
What do you mean Tim. I mean there will be like 10-25 different 3 digits codes that people till type in
i dont know what do you want your digit system to do
but first you need the channel id so the bot doesnt get messages from other channels into that command
so that messages in that channel go to the digits function, and not the other bot functions
while its listening
The thing with the 3 digit system is that when for example 5-10 people type the same 3 digit code they will match together with the same SERVER ID "3 digit" and same goes for the others with different 3 digit code. If you got me
so they can create an arbitrary digit
does it need to be persistent? like once set it should be saved forever, or can be discarded after showing the list?
It will only be used in one chat
Numbers and letters, just 3 digits
It can be discarded after showing the list after sometime
No need to be saved forever
does it need to listen for digits in other channels/servers?
Only one channel
When the countdown bot has started in the voice channel, the other bot will automatically open the chat so people can type their 3 digits code and after like 1 minute the bot will close the chat so nobody can type
As everyone can see who they group with
do they create their own 3 digit codes or do they get it from somewhere?
like if someone types 123, the group "123" will be created with only 1 member
They get it from the server, there will be a long ass code but it will be the last 3 digits of that code
can the bot verify this?
because people can just put whatever, and the bot cant verify its a valid code
That's what im working on, not really sure how to do it
The bot has to verify every single 3 digits code
is this a game server? which game is it?
Fortnite
do they have a public api?
When the match is going to start, you need to sit in the room "Countdown".
Make sure your other team-members are ready and the content is pre-loaded.
A bot will then countdown. Last player hits ready when bot says GO!
When you're connected to the server make sure to check the 3 last digits in the server-code (left top corner of screen).
Type these 3 last digits in "#snipe-codes". There will be a form where you can see all other teams and which server they was placed in. Something like that, not sure if they do have a public api but I could be wrong
so basically a system that will never work because it requires too much cooperation from too many people across multiple platforms with a time limit
i seriously doubt any of that can even be achieved with dbm
and people could type different IDs, people who arent in the game could ytpe it
its not gonna happen
^
Yeah well there's actually no need for to make a system for so many people across multiple platforms with a time limit etc. Like if there's any way to put it in embed messages and the ones who type the codes they will just group in a form together as the screenshot I showed you. No need to be advanced
I can actually pay for it if you could develop it for me btw
It's correct, the idea is that we'll be hosting solo, duos and squads snipes every 30 minutes. The ones who wants to join will be in the "Snipe Countdown" voice channel, there will be maybe 50+ waiting for the bot to countdown (3 2 1 go) it's like scrims to match against on the same server if everyone queue at the same time
I have everything ready besides for the grouping ID form thing
But it will be more than 50+, just made an example
so the bot's sole purpose is to group people and nothing else? everything else, including the channel opening and closing is handled by another bot?
no, its to join fortnite games, get the ID of the match (shown on screen somewhere) i guess
all those people queue at the same time
why you would want to do this? only reasons would be to team, or to snipe streamers
or some other stupid shit
nobody with half a brain gonna make that
i dont play fortnite so i dont get it
So the bot purpose is to group people with the same ID and for those who are alone, like every 3 digit code have to be in the form and the player name of course AND including the channel opening + closing
they all queue at the same time
to increase chance of being in same game
then the bot puts in groups
of people in same game
so they can team up to cheat and win
stupidest thign ever
i mean thats what it sounds like 
u can only have 4 in a group, u call the channel "snipe countdown" and everybody tries to join the same game? 
It's called scrims/snipes, not even near to stream sniping
Yeah exactly
For example
If we're hosting squads
There will be 4 people on every team right
And to increase the chance to match up with the other squads, with better players and practice. Will do also host tournaments further in the future but this is just the beginning of the project
i take it fortnite doesnt have custom games
so lets say there are 8 people in the snipe queue
So some of them will match together
and they all get in the same game, 2 squads
Ye
where does the ID come from?
When they are connected ingame
so its on screen?
There will be a long code upper left corner
and is it different for those 2 teams, or same for everybody in the match?
But to make it easier we just thought about the last 3 digits of that code
If we queue at the same time and get to the same match we will have the same ID, the others who dont wont
Because to group all of the people who's playing
so if people have their 4 man groups
Thats what I need the bot for
why not just have a category with many 4 man voice channels
and have a bot rename that category to the game ids
and that way just 1 person gfrom each game ever has to use a command
Nah it wont work like that
But I get your idea
But then it will be many categorys with IDs..
Better with the chat to group the IDs
u just have multiple categories with voice channels inside
i mean just think about it
if ur all queueing at the same time
but ur not all teaming and being in one voice channel to cheat
tthen why do others need to know what game ur in, just play the game together
theres no way to guarantee being in the same game anyways
apart from just being in 4 man
so its not like ur gonna be "hosting tournaments"
That's the idea of it, the professional players are using this kind and this will be big. You don't have to worry about that stuff. I just would like to get that stuff going
So, do you want to help me to get this going or not?
;shout @hoary bramble
still wrong channel 
if (client.voiceCheck.size) {
for (const [key, value] of client.voiceCheck) {
if (!client.voiceConnections.has(key)) {
client.voiceCheck.delete(key);
};
};
};
since im just getting the key, could I just do it like
if (client.voiceCheck.size) {
for (const [ key ] of client.voiceCheck) {
if (!client.voiceConnections.has(key)) {
client.voiceCheck.delete(key);
};
};
};
This ^ ?
so not possible then?
unless I do some iteration on the other side
like maybe grab the values etc etc
const [key] of client.voiceCheck works
got it thankies
how many days to approve the bot?
my bot awaiting approval 2 day.
oh.. tnx
!profile
hey
hey
I'm really confused.. I've done node.js for a long time.. and I've been trying to make a online panel.. I figured out how to get the users token into the server but I have no Idea how to make the html interactive..
I mean interactive in the fact that the server can put variables in the html (EXAMPLE: the users name in the top right)
templating
pug
ejs
I'm using express btw
thanks ๐
Hey if wanted to switch server specific commands to any server how would i do that?
what lang?
http://prntscr.com/km521w new to discord.py and py overall, how do i fix this?
where my new bot
@devout raven what?
@west raptor 
i installed it 5 times
looks like async
is that client mods i see
huh
whats ur code
import discord
import config
class Daylight(discord.Client):
async def on_ready(self):
print('Logged on as {0}!'.format(self.user))
async def on_message(self, message):
print('Message from {0.author}: {0.content}'.format(message))
client = Daylight()
client.run(config.token)
ew
pycharm is bad
wew
Uhm... what is your Discord.py version?
oh my bad
0.16.12
.
i basically copied off the site then copied of the site that SamuraiStacks gave
probably just trying to import config.json as a module
I will just assume it's a file.
its a file
And there is a dictionary inside of the file or just the bot token?
token
whats a dictionary
idk
Python Dictionary - Learn Python in simple and easy steps starting from basic to advanced concepts with examples including Python Syntax Object Oriented Language, Methods, Tuples, Tools/Utilities, Exceptions Handling, Sockets, GUI, Extentions, XML Programming.
Is it just the token or something like this:
{
"token": "my_token_here"
}
?
yea
Oops.
import discord
import json
token = json.load(open("./config.json")) # Replace config.json with your file name.
client = discord.Client()
@client.event
async def on_ready():
print('Logged on as {0}!'.format(client.user))
@client.event
async def on_message(message):
print('Message from {0.author}: {0.content}'.format(message))
client.run(token["token"])
Here is a little example of how it is done. 
Traceback (most recent call last):
File "Daylight.py", line 1, in <module>
import discord
File "C:\Users\fazin\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\__init__.py", line 20, in <module>
from .client import Client, AppInfo, ChannelPermissions
File "C:\Users\fazin\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\client.py", line 38, in <module>
from .state import ConnectionState
File "C:\Users\fazin\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\state.py", line 36, in <module>
from . import utils, compat
File "C:\Users\fazin\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\compat.py", line 32
create_task = asyncio.async
^
SyntaxError: invalid syntax```
yes
That's the problem.
.
3.6.6 should work fine with async.
is there a way to downgrade?
again
ffs
Could not install packages due to an EnvironmentError: [WinError 5] Access is denied: 'c:\\program files (x86)\\python36-32\\Lib\\site-packages\\chardet'
Consider using the `--user` option or check the permissions.```
had this issue earlier
had to reinstall python
and now its back
nvm
i fixed it
thank you
does anyone know any passport-discord stuff, because i keep getting this error when i try to log into my bot's dashboard:
TokenError
at Strategy.OAuth2Strategy.parseErrorResponse (/home/node/mini-me-stable/node_modules/passport-oauth2/lib/strategy.js:329:12)
at Strategy.OAuth2Strategy._createOAuthError (/home/node/mini-me-stable/node_modules/passport-oauth2/lib/strategy.js:376:16)
at /home/node/mini-me-stable/node_modules/passport-oauth2/lib/strategy.js:166:45
at /home/node/mini-me-stable/node_modules/oauth/lib/oauth2.js:191:18
at passBackControl (/home/node/mini-me-stable/node_modules/oauth/lib/oauth2.js:132:9)
at IncomingMessage.<anonymous> (/home/node/mini-me-stable/node_modules/oauth/lib/oauth2.js:157:7)
at emitNone (events.js:111:20)
at IncomingMessage.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1064:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
Show code
@earnest phoenix you are free to pr one
what?
Go to hastebins github
Fork
Add account system
Pr
ah
i see
this is my friends clone, he hosts on gitlab
@split lantern have you worked with passport-discord before?
I mean it says
Token Error
it might be cookie-session
To what part do you come
wtf?
Like do you know ~~ where it errors
oh, i can get it to run just fine, just when i try to login, it goes all the way through the discord oauth part and then errors when it comes back to my site.
@sharp bluff whats your bot based on?
I prefer Discord.JS
yeah nodejs
so discord.js?
This is for bot development...
yeah we know ๐คฆ
yeah discordjs
nice
im a pro at discord.js
Hell yeah
if you need help then ask me
yet people wonder why this botlist is shit
i dont get it
it that a joke?
weebs like you
How do you get CPU % usage of node process? (nodejs)
@earnest phoenix you calcul from process.cpuUsage()
hmm
actually not sure of the syntax of this method
How do you get the bot developer role
be a bot developper
develop a bot

yeah so this is a website that lists bots
they search you for leaked tokens here
my bot is called Cat
see the pattern
its not accepted yet
yeah you expect up to a month of waiting
who tf are you tryinhg to tag
WHAT IS THIS BULLSHIT
and i tagged my bot
@split patrol
yeah 2/3 of the staff retired there's nobody left to verify the bots
lmao
lmao
@bitter sundial verify cat bot rn or your gf wont give you a blowjob tonight last call
shows how shit this server is, not even the staff like it
lool
wait is tonkku a girl or a boy
guy you dumbass
phew
#memes-and-media with this convo
ok
TypeError: Cannot read property 'kick' of undefined
wat
@uncut slate do you know why? it's broken all my moderation commands
why ping me
genuinely curious tbh 
anyhow, mostly useless error without the surrounding code
I was looking for verified devs and I know you were a mod
it crashes my bot
If you have questions, ask the questions and wait for someone who can answer to help you. [ ... ] Do not @mention people randomly.
are you calling kick on a guildmember?
then that's your issue to deal with, not mine 
or a user
a user
aeth likes that emoji
oh
you need a guildmember
assuming your on d.js or something like that?
member.kick(reason)```
oh
add another line in between
if (!member) return msg.reply('No member mentioned or found');
that'll stop it erroring if theres no member mentioned or it couldn't get them
I have that
if (!args[0]) return msg.channel.send("Hmmm, looks like you didn't tell me someone to kick!")
you should check for the member
not args[0]
since depending on your args setup it can fail still
Well if you don't want an error you should check the variables you are depending on to not be null or undefined.
it kicks the user then crashes the bot... @sick cloud
what are you doing AFTER the kick code?
sending an embed
let reason = msg.content.split(" ").slice(2).join(' ');
let embed = new Discord.RichEmbed()
.setColor("BLUE")
.setTitle("Kick!")
.addField(`Kicked:`, `${msg.mentions.members.first()}`)
member.kick(reason)
msg.channel.send({embed})```
ok
${msg.mentions.members.first()} won't work
since the member would already be gone
send the embed before you kick
ty @sick cloud
thats what i think at least, but np
router.get('/bot/:id', async (req, res) => {
});
anyone good with express and know how to get the :id from the request url?

so I'm very new to webhooks and I'm using dblapi.js. I'm having some trouble with this webhook I created from discord. I have the link, but I'm not quite sure what else to do with it, even on the discordbots website
DBL does not support Discord webhooks.
I guess that makes sense then lol
You need a web server that accepts POST requests
github works right?
ie. express
oh
no it doesn't take care of that
It does
you still need a web server set up
why don't discord webhooks work? I can search it fine
DBL sends a POST request to the url you provide
It handles POST requests
Discord doesn't accept POST
oh
You could use Apache Webserver or Nginx for example
If you donโt have one set up already
No
if your on js
Hi how can i check my bot permissions ?
meh I'm tempted to do the express server because I am running node
const app = require('express')();
app.post('/dbl', (req, res) => {
// yay data
});
app.listen(3000);
but apache has been around forever right?
but if bot goes down then it goes down?
yeah
Well if you are doing this just for the web hook donโt use Apache
do I want that ๐ค
but if the bot goes down then why would people vote
true
ah true
Hi how can i check my bot permissions ?
i'll try express, thanks!
discord.js
ok
get the guildmember for your bot
using message.guild.me
and then use the permissions.serialize() property
so ```js
m.guild.me.permissions.serialize();
if your message is set as m
That isnโt a property
yes it is
lol
thanks
np
so where do I get the url from when using express ๐ค
Does the discord api have a feature to get server info from an invite
no
Step up your game with a modern voice & text chat app. Crystal clear voice, multiple server and channel support, mobile apps, and more. Get your free server now!
Do you get an error? @earnest phoenix
ok is there an error that it's giving you?
Please post it
We need the error to know what's wrong
Could you copy paste it?
?
Can you send the full error?
Not just paraphrased
oh
@earnest phoenix are you perhaps running on the default npm start?
If yes, it won't do, you need to define a Procfile yourself and push it along with other files
Then go to Resources and enable it
Should look something like this
You need to create a file called Procfile with the content worker: node yourfile.js
Don't forget to check the logs as well 
", ".join([x.name for x in bot.commands]) so this is what im using to get all the commands
how do i make it not show hidden commands
discord.py rewrite
x.name for x in bot.commands if not x.hidden iirc
or whatever the hidden property is
yea that works
wait what
What does that do
they added session_start_limit
reset_after is the time until it resets to 1k (aka total)
remaining is how many sessions can be started before token is reset
das actually useful for automating shit
not really
it's useful to know how close to the limit you are
but you can't do anything if you hit the limit
ยฏ_(ใ)_/ยฏ
changing token can't be automated
what happens if u hit the limit
token is reset
oh my 
i'd add it so if i get 5 away from the limit
prevent bot from starting
usually only badly written bots hit the limit
ie. mine
and/or libs that don't handle certain situations properly
Yea but a meme bot gets used a lot more that regular bots especially with nsfw commands
Optimizing all of that is a real hassle i bet
Dank Memer has a lot of image commands aswell
Gotta make sure nothing breaks :/
ya tbh we use third-party services for critical things
iirc image server is third-party too
Dank Memer has its own image server written in pythonk i think by Krom
yeah
wow
canvas leaks memory, jimp is slow and blocking
Krom knows how to do magic ๐
we use redis to make most of our things faster
because redis is hot af
and because reddit is slow af 
reddist
ya image server is still python ๐
i use java.awt
canvas here as well
well you can't really use anything else
canvas is about the best for nodejs
you'd need another language to perform better
Can i have my bot send a widget?
Cause i want to use as a image for a embed the bots widget
But idk how
ofc
discord.py rewrite
So i convert the widget to png?
no
Or png on the link
ok
What are the Assets to the widget btw
Like images it uses when generating the image
The Text is a Image, the Circley looking transparent thing is a image, ect.
What i am saying is are you able to generate individual parts of it
yes
download the svg file and read its code
k
@earnest phoenix you know python?
no but someone else here does
yeah i asked the same question 10 times before over 5 weeks
and no one
helped
anyone here good with electron? having some issues with BrowserWindow, its saying it isn't a constructor
TypeError: BrowserWindow is not a constructor
(used https://electronjs.org/docs/tutorial/first-app but yeah, it doesn't work)
Cache stuff
@glossy talon whats the issue? server count is correct if i open it in the browser
but when u send the link in discord, it loads it through the media proxy which heavily caches
The issue is it won't update on my mac, or my discord bot i am hosting on a linux vps
Itโs caching the image
Well how to make it update then
Add a trash parameter at the end with a random number
it'll update later when the cache expires
discord caches images for practically forever
are you posting it to discord 
no
when you send an image link the media proxy caches it
if u open those in the browser they're different
yeah, discord does it to save bandwidth and crap
d!sunucu
d!sunucubilgi
d!espriyap
how do i make this join the voice channel then
play that song
Where would you think the best place to learn HTML is
w3
connection.play is not a function
Whats wrong with connection.play
Should i change it to playStream or something
js?
let embed = new Discord.RichEmbed()
.setColor("AQUA")
.setImage()```
How do I do the image
I have the link
well if u have the link just setImage it?
like put the url in there
lol
let embed = new Discord.RichEmbed()
.setColor("AQUA")
.setImage("https://api.thedogapi.com/v1/images/search?format=src&mime_types=image/gif")```
this dont work
yeah because thats not the link
look at my eval
bot don't follow redirects

...
So a general question for voting:
Is there a full documentation of the api?
When does the "hasVoted" reset?
What exactly does "getVoters" return?
AFAIK setInterval
you could like...
await new Promise(resolve => { setTimeout(resolve, 3000) })
iirc
I am starting getting a lot of errors
anyone know about discord.js?
ReferenceError: cmd is not defined The code was working fine yesterday
ok, well cmd is not defined
with 0 errors
as it says
so no matter what day it is, that would be the same
so if you dont know what <x> is not defiuned means, learn js basic programming
it was working yesterday though
that's why I am asking and I've defined a cmd
if (!msg.member.hasPermission("MANAGE_ROLES")) return msg.reply("Unsufficient permissions.");
let member = msg.mentions.members.first()``` @earnest phoenix
you did no define cmd in that code snippet
you dont know what undefined means, so you should probs read about that first
hey, how do i make mu bot add roles in js master?
what have you tried? @sour perch
what error?
wait, ill just recreate it
the error would be something like memberID.addrole is not a function
``` msg.guild.channels.find(name, logs).send({embed})
^
TypeError: Cannot read property 'send' of null``` any ideas WHATS WRONG?
(node:6228) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'add' of undefined
the channel doesnt exist sir lock
it exists
ok well its null 
coming from somebody who didnt know what not defined means
the channel doesnt exist
I know what not defined is
that error is for memberID.roles.add(roleID)
because the channel doesnt exist
Hab, is memberID a guildmember object?
or an id
yeah @sour perch memberID is an ID, not a GuildMemberStore
and i tested it it returns the full if
and guildmemberstore has the .add method
It can see it
ok, so how do i get guildmemberstore?
so you need to get a guild member using that Id, then do .roles.add(roleID)
@sour perch what are you trying to make?
mute @ocean token
if (!muteRole) return msg.reply("There's no Mute role, please create one named `Muted`");```
not really, :/
OK, so your ID is a string
Hab
yes
use the above code
it does nothing @ocean token
You said you didn't want to copy paste ๐
yeah got you
his code doesnt do what you want @sour perch ๐
where are the docs?
if (!msg.member.hasPermission("MANAGE_ROLES")) return msg.reply("Unsufficient permissions.");
let member = msg.mentions.members.first()
if(!member) return msg.reply("You need to mention a member!");
let muteRole = msg.guild.roles.find("name", "Muted");
if (!muteRole) return msg.reply("There's no Mute role, please create one named `Muted`");
let params = msg.content.split(" ").slice(1);
let time = params[1];
if (!time) return msg.reply("Please specify the time of the mute!");
member.addRole(muteRole);
msg.channel.send(`${member.user} has been muted for **${ms(ms(time), {long: true})}**`);
setTimeout(function() {
member.removeRole(muteRole);
msg.channel.send(`**${member.user}**'s ${ms(ms(time), {long: true})} mute has expired!`);
}, ms(time));
}```
https://discord.js.org/#/docs/main/master/ @sour perch
Check it
No prob, don't forget that it requires MS
im dying, you never seen the docs? ๐ ๐ ๐ ๐ ๐ ๐
i have, just havent used them much XD
Hab did it work?
and im not going to use it @ocean token was sayijn thansks cuz he sent the docs ๐
ah
sorry man, wanna do as much as possible myself
anyway, just check how I did it, I am not good with explanations
._.
well i see what you did, and i tried it, but it doesent appear to work for me @ocean token a guy over at the apis discordserveer said that was because i used master
discord js right?
yes
ah ok
well, anyways, thanks for explaining, ill go test some stuff then,
ok
hi so i have a question
wow nice
i was looking to load json data for a discord.js bot
would it be best to load all that data synchronously or asynchronously
each guild will have its own json
thats
well if your use case is to store data for each guild e.g. settings, you are best of not using json at all
really bad
that would be horrendous
use a database

custom commands
store in in the db
bc you can serialize them

let embed = new Discord.RichEmbed()
.setAuthor(msg.author.username, msg.author.displayAvatarURL)
.setDescription (`#${msg.channel.name}`)
.setTitle( `${msg.content}`)
.setFooter(`${msg.createdAt}`)
.setColor(0xc1d4ee)
msg.guild.channels.find("name", "logs").send({embed})
``` If you guys can see what's wrong with the code
ERROR MESSAGE```
msg.guild.channels.find("name", "logs").send({embed})
^
TypeError: Cannot read property 'send' of null```
the role you wanna add, can i add that by id or doesent it work?
it cant find the logs channel @ocean token
also thats not how you get channel by name 
I will delete it and create it again
hes probs updated and been like "i changed nothing"
how do you guys advise saving custom command data then
11.4 doesnt use that syntax anymore
hmm
no dont store the while functon
i mean if its custom
surely its just
custom name and custom output
true
so just store those in a db
and associate with guild id
and on load apply them all
so like a sql table like
Ok so, a deletion of the channel and re-creation fixed it
yea
should i pull that data from the database whenever i start up the bot
or should i just load up data when a user calls for it
when a user calls for it
kk ty
wait nvm, it keeps giving an error
@steel drum It depends. You should do it when the user calls it, but once they have called it keep it cached for some time so you dont call it multiple times in short period
or if memory is not a concern, just load them all on startup :p
ill probably cache it for an hour
thanks @earnest phoenix
hey
if anyone is free can you help me with something (pm me)
Okay fixed
@earnest phoenix do you know how to do music in js?
best of checking the docs and asking somewhere like AIG server
i use lavalink so its different to how you might do it asa beginner for a small bot
my music isnt broken it just says it cant connect to vcs even when its admin
embed = discord.Embed(title='name', description='meme')
await message.channel.send(embed=embed)
You can do send on any "channel" like object
Including members and users
wait easier than client.send_message(channel object, message)
do any of these support windows remote connection? https://i.imgur.com/lAprsVD.png
ubuntu didnt work
i think ive been on a site like that once
windows didnt last very long
connect to my vps
why didnt ubuntu work tho 
ssh?
@earnest phoenix which one is better
os
? idk im not some linux expert
i've never used linux

none of them support windows remote connection
but they all support ssh
ssh is a command line connection
oh thats when he meant
you cant use rdp on linux
๐
ye
lmaooooo
remote desktop connection
VPS's don't even have a desktop environment DansGame
well i mean you could install a desktop environment 
but thats like.... illegal man
dont do that
or you could not do that
install putty
the vps you're setting up has its own ssh instructions
windows 10 has built-in ssh
follow them
"OK google, how do I use ssh"
google that
follow the instructions of your specific vps company
some use keys, others use passwords
looks like skysilk lul
then google for skysilk ssh
what do i put https://i.imgur.com/eg6T20g.png
if you're using skysilk: https://help.skysilk.com/support/solutions/articles/9000118306-how-to-access-linux-vps-with-ssh-on-windows-mac-os-x-and-linux
Login to VPS via SSH using PuTTY or Terminal and running "ssh root@your_machine_ip_address" and entering a password. A PuTTY download is all that is needed to establish an SSH connection via Windows or using Terminal on Mac/Linux.
Yeah i just read it
im downloading putty
letting a website generate private key for you 
that sound like a disaster waiting to happen
it shouldnt be any different from generating it yourself
wellif the site generates it and sends it to you
its bad 
I remember everytime I try install putty it takes 15 years for it to request for admin access then it installs
its not jsut entering your pub key
its actually generating it 
im gonna be stuck here for the next 30 minutes https://i.imgur.com/az5gtoj.png
i dont understand why it takes so long to request for access
run it as admin from the beginning?
??
its installed
ive been stuck trying to connect to this for an hour and It wont work
so im starting to write a exp plugjn
im using a generic exp function where its like levels 1-10 are just level * 100, then after that it's 10% more exp everty level you get
how much exp do you guys think a user should roughly get
i randomize between 8 and 36
are you using a similar algorithm as me ?
by that scaling i should be randomly giving around 2-9 then
is your flevel system not exponential?
wym
the way mine works
after level 10, there isnt a consistent difference between levels
ill get some numbers one sec
at level 11, you need 1100 exp, at level 12, you need 1210, exp
at level 10 you need 1000
do you see how it starts to get progressively larger
no
...
i mean no mine isnt like that
so how do you guys check for "hoisters"?
like is there a specific way for filtering them
or is it just checking for ! and such
so say i want to give users exp for speak
what would be a good buffer
like
you can only gain xp from messages every x seconds
i do it with some kinda provider, with message send user gets +1
@sick cloud check for all the hoisting characters
u can simply find a cooldown code for that
I don't cool down at all
same
i would
Hence why I have someone who is lvl 178
oh
but what you guys say is a good buffer
like this? 
Yes
i was sthinking about doing this
i'm pretty sure i did see some index checking code
i just strip all non numbers and letter, square root the length and give the user that much xp per message
but idk
is that a good system ?
does anybody know free hosting? that isnt aws or skysilk
from my experience
there isn't any "free hoisting" thats good
free hosting is bad hosting
Do you want good hosting
no
Or do you want free hosting
you could always run it locally
idc what it is i just cant run it on my laptop
Then heroku or glitch
i mean just..
'username'.localCompare('a', 'en') i guess
yeah it returns -1 if the string would come before , 0 if the same, 1 if after.
so instead of "b" in my example, you would put whatever the highest acceptable character for names is
probably A
or a number
@sick cloud
okay
should i check for 0 though @earnest phoenix?
since some people have numbers in their names
and it isn't hoisting
well just compare to "0"
Try checking for alphanumeric character?
and if it returns 0, their name would be on par with 0
so in that case, dont de-hoist them
@topaz fjord I need a vps but I have no money idc what specs it has
it cant be worse then what I have now I run my bot on a 1mb/s connection
u can just use glitch if u gonna do a private bot for ur server
then buy a cheap server
or get cheap vps
yea
like litera
I litterally just said I have no money
buy 1 less coffee each month
and bam
u can afford vps
xd






