#development
1 messages · Page 491 of 1
its not obsolete
you cant use const and let for everything
sometimes you need to go through scopes
let fails at doing that
and const is not always the right choice
idk I used to use var and never had problems
I was just saying what someone else told me
Lol
yeah well, thats one situation
How would I make a userUpdate event?
like
oldUser.username?
wouldn't that give me their old username?
or am I just dumb
i dont think thats an event
userUpdate is an event
since when
@knotty steeple Sense then
Lol
Exactly
deletes message
yo
use cogs
whats that?
ok
:/
mines just a long line of If statements x
yea thats very bad
xD*
if you had to reload a command you have to restart the bot
if you has cogs you can just reload that cog
oh ok
i said has on purpose 
do you think you could help with the command im tryna do?
yes
SamuraiStacks
thank fuck
Answer me a quick question
pls no use async
yes what
i use async
do I do oldUser.username to get the person's old username?
idk
oof
yes
@devout flicker have you used the userUpdate event in js?
yes once the property tells it basically
newUser = after change
oldUser = before change

id rather not thnx
XD
lmao
send git
@devout flicker Yea I know what it saids
Use rewrite branch of dpy, use the command extension and cogs
But I am doing oldUser.username
thats what i suggested
and it doesn't do anything
ayy
if message.content == '^stab':
name = "<@" + message.author.id + ">"
await client.send_message(message.channel, name + ' stabbed ')
``` this is his code im just posting so i dont have to go in general lmao
ok
thats as far as i got and my brain exploded
then why u asking 
I am testing it on myself lmfao
@knotty steeple whats a fstring?
thats the file
Formatted string
oh ok
Ok
how would i do cogs
ive got like 3 versions of my bot
ill just do it on of the otheres
others*
you can use f strings or format() a normal string
Or use c style string formatting but fstrings are easiest
it looks alot more complex
yea
jda 
reee
dio? dun dun dunnnnn
but no seriously
it was me dio
idk
true
af
fair point
java 
i'd use eris 
I'd use dotnet core
im dyinnggg
was thinking about it, seemed good
Everything thats more complex is faster
c++
can someone just tell me how ill add someone elses name so when i say ^sab @modern zenithname it will do @mortal rose stabbed @modern zenithname
you have to get the first mentioned user

oof @devout flicker Still not working
how would i get that mentioned user?
lemme check myself
wouldnt discord.Member work
So comes here doesn't accept advice cus "too complex" then wants to get spoon-fed
i came here to ask the question i just asked
You cant use a member converter if you arent using the command extension @knotty steeple
because thats the only thing i dont know that i need
oh sad
You need minimal python knowledge to put apart a string, can't spoon-feed you
google is your friend
the docs are your friend
dude i know how to do everything that im tryna do apart from that one thing
thats why i asked
Yes that one thing requires minimal python knowledge
substringing/pulling apart strings is basic python
if you dont know that and everything else a simple google query will find it
Try reading a Python book before coding a discord bot
i didnt even do that
Dpy is a huge framework for a noobie python guy
You learn your preferred way
natsu my bot has loads of shit ive got it to play music just fine and this is the only thing i need help with ]
i mean once i tried python
looking at our friends 
leak 😉
TypeScript?
oof I am trying to learn Java
but would be very bad
yeh typescript
client.on("userUpdate", (oldUser, newUser) => {
let embed = new Discord.RichEmbed()
.addField("Old Username:", oldUser.username)
.addField("New Username:", newUser.username)
.addField("Time:", new Date().toDateString())
.setColor("RANDOM")
modchannel = client.channels.get("492835442354552844")
modchannel.send(embed)
})
This is my code
that's not java 👀
ts isnt bad
and the oldUser.username isn't working
no one said that @west raptor
nor is the newUser.username
are you sure your event is activating?

SamuraiStacksToday at 8:23 AM
TS
pls
``` kinda gives the impression you dislike it
@glacial kestrel ik it isn't java XD
well you said learning java so i got confused
well your impression is wrong
discord.js
lol
u see that
: kappa :
@glacial kestrel I am indeed using d.js
latest ?
where are you putting the event? outside of the other events?
one noob mistake is people put a event within a event
is your message event working properly if you have one? if not it might be an issue with placement
it is working properly
hmm, odd
for some reason my message event borked when above ready
beside in other events
wew
think im gonna go with eris for my mod bot tbh
What kind of a question is this
lmao
Also 10/10 English
Umm don't make fun of them for speaking improper English, never know if that is not their first language
This guy don’t speak any other language I’ve talked to him before @lusty dew
your bound to be made fun of
what would be a good name for a mod bot 
Moddy
that's generic but i could use it lmao
Lmao name is clipy @glacial kestrel
oh god not clippy


Next bot: Microsoft clippy
make it so it randomly shows useless discord tips

im actually so sad I use team viewer to connect to my vps @glacial kestrel https://i.imgur.com/cxr2b63.png
that's sad
yeah
Teamviewer good
Windows remote desktop connection should work
dont work for me

Using it to connect to a vps? Thats a paddling
its worked perviously
contemplating eris vs d.js for a mod bot
but recently it just says internal error @topaz fjord
eris gud
gunna go w/ eris
I'm thinking of making a dart lib
do you know whats wrong with it?
it just says internal error when i try to connect
is the port for it blocked?
i would assume not as it worked previousl @glacial kestrel
Does anyone know, why a "DefaultChannel" can be null?
Even if the server was just created
const discord = require('discord.js')
const ownerID = ['274284493043531776', '273504257464991754'];
exports.run = async (client, message, args) => {
if (message.author.id !== ownerID) return message.channel.send("You are not authorized to use this command.");
message.delete(message.author.id)
.then(message.channel.content(args[0]));
}
how can i make this work so if i do --say this is a test it responds with this is a test and not just this and ignore the rest after the first word
@earnest phoenix Array#join
Join the args
also what are you even trying to do with message.delete(message.author.id)
args[0] only looks at the first element in the array
And yes, what he said.
That's incorrect
delete the command I assume @inner jewel
yes but why the id as argument
That's now how you use that function
idk
¯_(ツ)_/¯
you could just do message.delete()
message.channel.content is not even a function either
What documentation are you reading 👀
the one that the 3 year old who thinks they know how to code made @earnest phoenix
@inner jewel were do i put Array#join
what's the point of this getter?
lol
Also, you're using js if (message.author.id !== ownerID)
This will always return true
this will result in error
@earnest phoenix !== would never work != or ==
@earnest phoenix is it C#?
I am saying that the statement is incorrect because you're comparing a string to an array
it's javascript, pls
Ah my bad i just checked your quote @earnest phoenix
The syntax on that quote is 1:1 same in C# except the !==
Isn't d.js guild.defaultChannel deprecated
yes
@golden nacelle im using .js
@earnest phoenix Ok i dont have anything to do with .js sorry
lol its grand
debatable
await delay(5)
m.delete()```
this wont work
it dont send the message
What is delay()
return new Promise(resolve => setTimeout(resolve, seconds * 1000));
}```
@earnest phoenix
Check the channel permissions
its in my server it has admin
I'm not going to ask why you made this whole function
when all you needed was a setTimeout()
I even think d.js has a built in timer, hold on
Yep, it does
why dont it send the message though
but like
why does have those brackets around embed
yeah but how do I only delete the message the bot sent and not the most recent @earnest phoenix
dont send
How do I get this?
https://gyazo.com/e115b6e62cde52048475ca9cbb5c5782
I am trying to do this
but it isn't working (this is from another bot btw)
Assuming js.. <message>.author and <client> should contain the info... You just have to call the data and phrase it
yea js
I want it to tell me the accounts age
I got the created On part down pretty sure
use moment to format it
Yeah message.author should have a timestamp containing the age of the user who sent the message. You have to format it and subtract it to get the age
You may be able to find it by mentions if use use the client constructor
all my bot does is send a link to the song September every 21st of September
thats it
ok
ok
How would I find out how many servers my bot is in in discord.js?
<Client>.guilds.size```
thank you.
@gilded blaze I'm getting an error saying "bot.guilds.size is not a function"
if(cmd === `${prefix}botinfo`){
let bicon = bot.user.displayAvatarURL
let botembed = new Discord.RichEmbed()
let guilds = bot.guilds.size()
.setDescription("Bot Information")
.setThumbnail(bicon)
.setColor("#9900ff")
.addField("Servers", `in ${guilds} servers!`)
.addField("Bot Name", `${bot.user.username}`)
.setFooter(`Requested by ${message.author.username}#${message.author.discriminator}`)
return message.channel.send(botembed)
}```
How would I make it say how many servers it's in then?
What I typed
bot.guilds.size```
thats what i did
You did bot.guilds.size()
but it gave me an error saying "bot.guilds.size.setDescription is not a valid argument"
bot.guilds.size.setDescription is not a function
I don't understand q.q
Move the guilds above your let embed
How can a defaultChannel be null?
Discord removed those
i created a fresh new discord server and in the debugger it tells me that DefaultChannel is null
that's how
They removed those a while ago already :v
hey shivaco, how do I do a welcome image?
they removed defaultChannel after they added the ability to delete the general channel
@golden nacelle
You'd just need a library that's able to work with images
for js you can use canvas or jimp
@topaz fjord Thanks man now i need to try out how i can send a message to all 😄
are you trying to send a welcome message?
No i subscribe to the "Ready" event with the Discord.Net library in C# it just should tell when Bot is back up online
But the Ready Event doesnt have arguments
you can try filtering through all the channels to find one that you have perms in
im struggling along time with that shit lol
foreach (var x in _client.Guilds)
{
if (x.DefaultChannel != null)
{
x.DefaultChannel.SendMessageAsync($"🔋 I've been updated and i am back online.\nCheck updatelogs here: {PasteBin}");
}
}
^ this is what i currently had, but now i just got told by you defaultchannel hjas been deleted
this will get you banned from discord
most libs have deprecated it
is it called "GroupChannels"?
also what natan said
and you'll get ratelimited as hell
can someone tell me how to do the welcome image to people please?
Ok i didnt know that i just got told and it doesnt even work 😃
Are the normal channels called GroupChannels?
d.js deprecated default channel yes, think eris did as well js wise, idk about other libs
uh i think groupchannels are group dms
atleast thats what it sounds like
ok
Nice lol your the 2nd one who told me that and got this name 1year xD
oh hey
i know your name
means 666
not because he just said
so make that 3 people
ok
do you even know hexadecimal
Yep
i also know that 29a used to be a group that created viruses back when MS-DOS was around 
Someone knows discord.py rewrite?
py 
if you know discord.js please dm me, I need help.
will throw dm
@cyan trellis me
I know discord.js
Too easy
@cyan trellis dm me
Someone knows discord.py rewrite?
d.js is the easiest lib
there's disco which was made by b1nzy, it's another python lib but idk how good it is compared to d.py
people nowadays are still talking about what is best? 
p sure most js devs here don't like commando 👀
I don't think so
it's best to make your own module/command framework tbh
Gonna to study eris
do that, eris is lovely
sorry
member.createDM().then(function (channel) {
return channel.send(1)(`Welcome to server unknown`)
}).catch(console.error)```
would this work?
d.js?
...why are you welcoming a member when they leave the server 
you dont need createDM
oh
client.on("guildMemberRemove", member => {
member.send(`Welcome to server unknown`)
}).catch(console.error)```
oh
lets already ask a mod to kick hos bot for default welcome dm messages
how would i make the message get send after an amount of time
sweet thanks
@light magnet you need to host your bot on a server, not on your computer
keep the program running
@light magnet vps
either pay for a server/vps or use a free host like glitch or heroku
@light magnet i will give you a vps right now
for the cheapest price
you buy one
you pay me i give you one
you are talking to someone that doesn't know much about how technology works, and is using google translate, be easy on them
or we could make a deal
what in the fuck
so in my eval command for my python bot i need return for literally everything how do i make it not like that
not actually everything but you get what i mean
wut
set a bot status?
Hi I have a question about discord does anyone know how to change what calls google or a game I’m playing
Custom Playing status?
what language/library are you using
That's not a language
lmao
thats a text editor
kek
still not a coding language
Programming language
what ur using to make the bot
if you explain your issue we could actually help
is using a clone other wise he would know what programing lanugauge he used
@junior hornet Btw, if you are on PC:
This wheel next to your username#discriminator -> Games -> Add it! and choose whatever application
Shivaco thx
no
the only embeds users can do if they send a link that can be embeded
you can also tell who is a bot and who is not cause bots have BOT tag in their name
show
this person isnt here thank god
give id
that id looks like a brand new discord user
created yesterday, so they are most likelly aware that they are breaking tos so this is their alt account
thx for the help
yes
it was created a day ago
setTimeout(function(){client.channels.find('id', '435814918651117579').setName("♡An"); }, 3000);
is this current for this purpose
why do you need to set the channel name to that every 3 seconds
that can be seen as api abuse
@knotty steeple ur computer laggy af
ok?
lol
@inner jewel hi this person randomly pinged me tell him ur not allowed to do that kthx
ohk
Can you embed videos?
p sure you can't, unless you post a link to the video and let your message embed it
ok
How do I get the bot's avatar?
it's own avatar?
Ye
get avatar from bot user
your bot is also treated as a user object, depending on the lib you are using you need to get the client user itself
What I am doing only giving me the URL
what are you doing
I don't want the url though :/
you can download the image from the url, I guess
Ok
How would I use setTimeout to delay something?
setTimeout(function(){
whattodo
}, timeinms)
ex
setTimeout(function(){
console.log("hey");
}, 3000)
This logs "hey" after 3 seconds
setTimeout(() => {
console.log("gey");
}, 3000)```
Ah ok

message.channel.send(`${client.user.tag} is going offline`)
setTimeout(() => {
client.destroy
}, 3000)
}
Would this work?
destroy is a function
test it out
Tyty
It worked
at first I had the thing as
setTimeout(() => {client.destroy()}, 3000)
Not sure if that would have worked
I think so
Oh yea that would work
RangeError: Maximum call stack size exceeded
at rand (C:\Users\User\node_modules\unique-random\index.js:4:22)
at rand (C:\Users\User\node_modules\unique-random\index.js:6:47)
at rand (C:\Users\User\node_modules\unique-random\index.js:6:47)
at rand (C:\Users\User\node_modules\unique-random\index.js:6:47)
at rand (C:\Users\User\node_modules\unique-random\index.js:6:47)
at rand (C:\Users\User\node_modules\unique-random\index.js:6:47)
at rand (C:\Users\User\node_modules\unique-random\index.js:6:47)
at rand (C:\Users\User\node_modules\unique-random\index.js:6:47)
at rand (C:\Users\User\node_modules\unique-random\index.js:6:47)
at rand (C:\Users\User\node_modules\unique-random\index.js:6:47)
Can anyone help me and tell me why I am getting this?
I don't understand it o.O
how would i do a setTimeout for member.createDM
log url
http://prntscr.com/kxj8vy anybody that knows this error ?
the connection to the thing timed out
You must vote to use the command from discord bots how can I do it
snekfetch.get(`https://discordbots.org/api/bots/YOURBOTID/check?userId=${message.author.id}`)
.set("Authorization", config.dblToken)
.then(response => {
var check = response.body.voted;
if(check == 1) {
<PUT COMMAND HERE>
} else {
return message.reply("Upvote first!")
}
})
Not sure if this still works, but this is how I did mine @signal saffron
It worked for me
I hope it works for you
did you have to spoonfeed him
Just use the api?
@knotty steeple No I didn't but eh, I am tired of explaining things :/
You did
well dont say anything
Hopefully I'll try it soon
Ok
It all good, I don't mind it
Also I use Discord.js and VSCode
And as for what kidn of bots I make that is any really
I mostly experiment
how could i make this work
.setFooter(`${client.config.botname}`)
where would it grab the client.config.botname from?
No idea
You can't just expect it to work like that
If client.config is undefined
i need to make it so i dont have to change my footer for every single one every update, because i would have to change like 50 every time then
its not, but he can set it himself
you can do something like client.config = config
where config is your variable that contains what you want
you have to build it yourself
or create a new object
yea i know but
like js client.config = {"botname":"yourbotnamehere","somethingelse":"etc"}
did he do that
How do I turn an ID into a username?
d.js?
You could try fetching a user by the cache or using fetchUser if they aren't cached
https://media.turtle-bot.com/f/CfkI6.png cant use fetchUser in d.js
What
Oh it fetches cache automatically
Oh
https://discord.js.org/#/docs/main/master/class/UserStore?scrollTo=fetch This is the one in master
message.guild.members.get('id')
I am not using master
and that returns type GuildMember
Dev?
Dev?
"bot_devs": [
"330528293843632130",
"479603748382179329"
]
It is in my config file
config.json
oh wait im stupid i cant read
client.fetchUser('id')
Ah ok
you cant pass an array into it
loop
forEach or for loop
.then or async/await
Sigh I hate errors that make no sense
.addField("Developers:", await bot.fetchUser("479603748382179329"))
^^^^^
SyntaxError: missing ) after argument list
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:616:28)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at jsfile.forEach (g:\Bot\index.js:18:21)
It says it is missing ), but there is a )
show code
That's because your missing a ) in your code
No I am not
:/
I have already checked
message.channel.send(embed)
});
}
the });
in that
is supposed to close off the fucntion
What's your editor you use?
How about you resolve the user outside of the embed field
.addField("Developers:", await bot.fetchUser("479603748382179329"))
but instead it is trying close it off there
Try (await bot.fetchUser(...)), Or refer to what I said above
Or take out the "" in the fetchuser?
you cant take out the in fetchUser
Sigh
Then resolve it outside the .fetchuser like itexlo said
Ok
try (await bot.fetchUser('id'))
Does anyone know category fetchuser falls under in discord.js doc?
(node:13296) UnhandledPromiseRejectionWarning: ReferenceError: roles is not defined
code is:
message.member.roles.map(roles => '!== @everyone', `\`${roles.name}\``).join(' ')
@earnest phoenix it's undefined
Can you see
im new to coding, i dont know how i would define it
You didn't define roles
But you wrote it 
@lusty dew what node version?
oh hai natan
you're probably outdated
@earnest phoenix just tell me how to define it....
@earnest phoenix did you learn any js?
since it doesn't recognize the await syntax
I kinda don't want to teach you basic JS man..
v8.11.2
@vernal rivet nr
@topaz fjord It did just a second ago
async function ... would give unexpected identifier
I highly suggest you go and learn js. Go to codecamdy and take the Js tutorial
.addField("Bot Owner:", (await bot.fetchUser("330528293843632130")), true)
^^^
SyntaxError: Unexpected identifier
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:616:28)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at jsfile.forEach (g:\Bot\index.js:18:21)
Looks at the code
Ok
8.11.1 supports es7
This can't be an issue with async await support at this level
@earnest phoenix would this be it then
const roles = message.guild.roles;
Did you test it @earnest phoenix
I mean, this doesn't help you with the code you showed me
now message isnt defined in that code, uugh
Go learn js before you continue working @earnest phoenix. I suggest going to codecadamy and take the js course
im doing that
Ok
welp, fixed the roles being undefined
but now name is undefined
why doesnt the lazy way work for names and does for roles
ffs
Look at discord.js documentation
message.member.roles.filter(r => r.name !== '@everyone').map(roles =>`${roles.name}`).join(' ')
did this, gave no error, but also gave no response
Correct
There is no "response" code there
so?
message.channel.send(message.member.roles.filter(r => r.name !== '@everyone').map(roles =>`${roles.name}`).join(' ')
)
would that work
ayy, it worked
Doesn't it feel good when you figure things out yourself?
yes
fuuuck
how do i make it be in bold when it responds
2* in front and the end of it
so?
message.channel.send(message.member.roles.filter(r => r.name !== '@everyone').map(roles =>`\*\*${roles.name}\*\*`).join(' ')
)
no
but, how do i make a comma between each role?
no need for the back slash
but
ok
.join() is your friend
use it
(ie. .join(', '))
Yes it works \ but you didn't need to add them. It works fine with out \
^
why wont this work
const discord = require('discord.js')
const ownerID = '274284493043531776';
exports.run = async (client, message, args) => {
if (message.author.id !== ownerID) return message.channel.send("You are not authorized to use this command.");
client.user.setStatus('invisible')
.then(message.channel.send("Online Status Has Been Set To: ``invisible``"))
.then(console.log)
.catch(console.error);
}
it sets the status to idle instead of that, and does the same for dnd command
dont worry about it until your bot reaches 2k servers
meh, id rather have it now, anyways i already have it set up, i just need to know how i can use it in my bot stats command
if you shard now you are going to end up using more resources than you need
dont yet
am i evil
wow
😂
No
href makes that blue clickable text on websites
It says google but it leads to bing
lol
but am i evil for doing that
uwu
google >>
google > bing > yahoo >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
meh i dont care
what did they do
2 pings for no fucking reason
bfd got a strict no leaving the server policy for some reason
if you
ye
How would I do a coin system?
I want to use sqlite but idk how to make the table for it
How do codeblocks in md files work? Because this is sure as hecc wrong https://i.imgur.com/JBnutjM.png
js not JS iirc
the hecc are you doing
Tfw your linter lints your examples https://i.imgur.com/X1NoDbJ.png
I fixed it
oh ok
oh ok
Hey, I'm trying to make an overflow preventive recursive function, but it's not working out
function wait (result, stack = 0, preventStack = false) {
console.log(stack, preventStack)
if (preventStack) {
stack--
return
}
if (stack === 1 && preventStack) preventStack = false
if (stack === 20) preventStack = true
stack++
if (!result) wait(result, stack, preventStack)
}```
Could someone help me out?
After 21
I think the problem is that once it returns, it continues after the last line of the function
ohk
o maybe...
function wait (result, stack = 0) {
console.log(stack)
if (stack === 1) {
stack--
return
}
stack++
if (!result) wait(result, stack)
}```
Hm
Doesn't seem to have worked
(Also, yes, I realize I did === 1)
Don't worry about result
is this some synchronous wait 
explain what ur trying to do
Sigh I'm making a promise breaker
module.exports = (input, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) => {
let result
input(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9).then(res => {
result = {
success: true,
value: res
}
console.log(result)
}).catch(err => {
result = {
success: false,
value: err
}
})
function wait (result, stack = 0) {
console.log(stack)
if (stack) {
stack--
return
}
stack++
if (!result) wait(result, stack)
}
wait(result)
return result
}
ur making a scuffed sync wait
why not just return what u get from the promise
tryign to wait like that is a bad idea, lemme explain why:
setTimeout(() => {
console.log('Hello, world!')
}, 1000)
while(true) {
//waiting
}
// Hello world will never log to console
Which is why I'm not using while
Either way, I can't return what I get from the promise because then I'm still returning a promise
Like, you mean like this?
async function test() {
return 'test'
}
function bar() {
return test().then(() => 1)
}
console.log(bar())```
i mean, wher eur doing console.log(bar())
u can always just do .then anc console.log inside it
Dude
but most likely you can do whatever you are doing inside an async function
My point isn't just to console log
My point is to return the value of a promise synchronously
u want to use the value of the promise afterwards?
Ye
ok so you do this
i mean i was just typing alot but
there no wai to get the 'test' from that without a .then or awaiting it
why dont you jsut do whatever ur trying to do in the .then??
ur trying to like break space time here
what are you actually trying to do
ur literally tryign to do something pointless
to get the return value from async function
u use .then or await it
what are you trying to do that stops you from doing either of those things
Any tips on how to add a radius on images using canvas?
.setColor(3447003)
.setTimestamp()
.setDescription('')
.setImage(resim)
return message.channel.sendEmbed(ataturk);
} else {
return message.channel.send(":no_entry_sign: **Hata**, bu komutu kullanmak için **12 saat aralıkla** `https://discordbots.org/bot/489816093955719177/vote` sitesinden botu oylamanız gerekmektedir. Onaylanması **1-4** dakikayı bulabilir, lütfen bekleyin.")
}
})}
exports.conf = {
enabled: true,
guildOnly: false,
aliases: [],
permLevel: 0
};
exports.help = {
name: 'gif',
description: 'gif',
usage: 'gif'
}; (64)``` Error: `'} expected.'` (64,3)
is there a way to let my bot using emoji's?
i have custom emoji's, but for some reason are they not showing up as emoji, but as text.
like this: :Female: turns into: :Female: en not as an emoji.
well...
You need to send it as <:name:id>
is the bot in the same server where the emoji is
yes. 😉
can somebody help me with heroku bot hosting?
So, I followed that Guide: https://dbotmaker.io/forums/threads/heroku-free-hosting-setup.73/
but I dont have the work process type
I know that I should add "Procfile" but where do I get it and how do I install it?
?
Procfile is literally just a name of file without any extension
http://prntscr.com/kxokjc how to fix this guys ?
Add a function Map.

