#discord.js
Explore tagged Tumblr posts
Text
Squamble
i made a discord bot called Squamble and its super cool.
Its VERY unfinished but these are the links (It wont be online all the time)
#bot#discord#app#fun#code#discord.js#js#javascript#server#sourcecode#credits#java script#discord server#application
1 note
·
View note
Text
Hey, it's been... A spell... Sooooo.... I'm currently losing my mind. That's fun. I mean like, if you were coding for the last three hours and got the same exact error message then you'd probably be losing your mind too.
#discord.js#discord#coding#node.js#discord bot#what I'm doing is my business.#you can't see it yet.#but like#I want my bot to play music#but everytime I try to create an#audio source#it says#âFFmpeg/cnvov not found!â#or something like that.#IT'S BEEN GIVING ME THAT ERROR FOR THREE HOURS#I am losing my mind man#I don't know how much more I can take.#I'm good tho.
1 note
·
View note
Text
bonus thing for now/request thingy
i got the audhd urge to spontaniously make a discord bot for fun again and im making a mephone4 reply-bot
what type of things would you like to ask him? (this is NOT AI
i am typing each response out myself and going to be using a lot of lines directly from the show as well as consulting my bestie mephone4 expert to keep in character, im also not perfect at discord.js so its very messy but when i am done ill release the code and also host a version of it myself for people to play with (if you dont know how to run a discord bot)
this MIGHT end up being todays post later if i add enough
24 notes
·
View notes
Text
Dislate DevLog 2: Refactoring, and Premature Optimization
Daily Blogs 288 - Aug 19th, 12.024
It has been a while since I made a dev log of this project, personal life got in the way and somehow in the meantime of the last one, I actually was hired to my first ever job. This project is being somewhat hard to me, it has been a while since I've done a Discord bot, the API changed a lot, and now I'm using discordgo instead of discord.js.
Being totally honest, I'm kinda stuck on it, making some refactors in the last commits. However, while preparing to write this log, I may have found why: I'm making optimizations and thinking too much about a project that is just a Minimal Viable Product, again. Premature Optimization is something that I struggle a lot, maybe because of anxiety, but probably more because of the lack of experience to know when I'm optimizing too prematurely, which makes me find myself becoming stuck into a problem because I want to make it "perfect" instead of "good enough" in the first draft. In this project specifically, it's even dumber since the only one who will use it is myself on my own internal Discord server, and most of the commands are admin tools that just me will have access to. Even though I want to in the future make this bot something for everyone to use, it's not the focus, and should have been something that would take just some weeks or so to make.
So yeah, I should probably stop overthinking and trying to be fancy. Write the feature first, make it work, and then you consider refactoring.
Today's artists & creative things Music: UNDO UNDO - by Rolobi
© 2024 Gustavo "Guz" L. de Mello. Licensed under CC BY-SA 4.0
2 notes
·
View notes
Text
discord token login
Discord token login is an authentication method that allows users or developers to access their Discord accounts or bots without using traditional login methods such as usernames and passwords. A token is a unique, alphanumeric string generated by Discord that serves as a form of authentication. This token is linked to a specific account or bot, and it grants access to Discordâs API for performing various actions, such as sending messages, managing servers, or reading channels.
For developers creating bots, token login is essential as it allows the bot to interact with Discordâs platform programmatically. However, itâs important to keep tokens secure, as they are essentially a password for the account or bot they represent. Sharing or exposing tokens can lead to unauthorized access. To implement token login, developers typically use libraries like Discord.js or discord.py to handle the token and interact with Discordâs API efficiently.
Read more :Â https://epasstoken.com/step-by-step-guide-how-to-login-to-discord-with-token-a-story-of-overcoming-login-issues-and-solving-problems-with-useful-information-and-statistics-for-gamers-and-discord-users/
0 notes
Text
ChatGPT
Log in
You said:
Is they a way to back up a discord conversion?
ChatGPT said:
Yep, there are a few ways to back up a Discord conversation, depending on what exactly you need and what permissions you have:
1. Manual Copy-Paste
Just select the messages you want, copy, and paste them into a document (like a text file or Word doc).
You can include timestamps and usernames manually or with a botâs help.
2. Use Discord Chat Exporter (Unofficial Tool)
This is a third-party app that can export chats into formats like JSON, TXT, or HTML.
It works for DMs, server channels, and group chats.
GitHub: DiscordChatExporter
You'll need to log in with your Discord token (be careful with this and never share your token).
Supports message filtering by date, user, or content.
3. Use a Bot (if you own the server or have permission)
You can set up or use an existing bot to log and save messages in specific channels.
Some logging bots: Logger Bot, Dyno Bot, or custom bots using Discord.js or Discord.py.
4. Screenshots
Old school but useful for small conversations or if you just need a visual copy.
Would you prefer a method that works on desktop or mobile? And are you trying to back up DMs or a specific server channel?
You said:
Desktop
ChatGPT said:
Perfect â if youâre on desktop and want a clean way to back up full conversations (DMs or server channels), your best bet is DiscordChatExporter. Hereâs how to use it step-by-step:
How to Use DiscordChatExporter (Windows/macOS/Linux)
1. Download it:
Go to the official GitHub page:
https://github.com/Tyrrrz/DiscordChatExporter
Download the latest release (you can grab the .exe for Windows or the .zip for other systems).
2. Get your Discord Token (needed for DMs and private servers):
Open Discord (in a browser like Chrome or Firefox).
Press Ctrl+Shift+I to open Developer Tools.
Go to the Application tab â Storage â Local Storage â Click on https://discord.com.
Look for the key named token.
Copy its value. (Keep this private â never share it!)
3. Run the exporter:
Open DiscordChatExporter.
Paste your token and choose the server/channel/DM you want to export.
Choose your format:Â HTML, plain text, or JSON.
You can set date ranges, filter by user, or include attachments.
4. Save & View:
Exports will be saved locally, and HTML format gives you a clean, scrollable version of the chat like how it looks in Discord.
matt just fired half the remaining tumblr support staff lmao
48K notes
·
View notes
Text
Hey again Grady! Yeah - due to a layered security approach, we've intentionally prevented CF workers from connecting to our Gateway sockets.
Well, that's sort of annoying. I think the setup you would need to actually make a discord gateway bot in cloudflare workers (durable object? alarms to send heartbeats? probably?) would be too complicated to be worthwhile and wouldn't be free (vs a node/bun/deno discord.js server on e.g. fly.io), but still.
0 notes
Text
How To Set Up Your Own Discord Bot: A Guide [v13 update]
Step 1: Go to https://discord.com/developers/applications
Make sure you are signed in to discord. On the top right hand corner, you will see a button that says New Application. Get to clicking!
Step 2:Â You will be asked for a name. This could be any name, but preferably the one you want your bot to have. Make sure it has a cool name, like Potato Queen, or Jack the Ripped Bot.
Once you have done that, click Create.
Step 3: You will come to a page that shows all the General Information. But you have not created your bot yet! This is just the application page. You can put in your App Icon, Description and the likes, before clicking on Bot at the side bar.
Step 4:Â You should reach a page with a button that says Add Bot. Well, what are you waiting for? Go ahead and click it!
A whole new page will pop up, with information about your new bot. Remember, you canât destroy a bot, so make sure youâre definitely wanting a bot when youâre doing this.
From here, you can see your botâs username as well as its profile picture. You can change it if you want.
IMPORTANT: There is also something called Token. YOU SHOULD NEVER SHOW THIS TO ANYONE ELSE. It is the one thing that will bring your bot to life (it basically controls your bot) and if itâs out in the open, it is best to regenerate a new one.
When you scroll down, you will see Authorization Flow. This is where you can choose to make your bot public or private. Making it public means that others can add it to their own servers, without your help. If itâs private, only YOU can add this bot to servers.
Step 5:Â Invite your bot into your server.
The link to do this should be:Â https://discord.com/oauth2/authorize?client_id=[clientidhere]&scope=bot&permissions=[permissionnumber]
An example is:Â https://discord.com/oauth2/authorize?client_id=707835242475421767&scope=bot&permissions=8Â [this has admin permissions]
or you can just use:Â https://discord.com/oauth2/authorize?client_id=707835242475421767&scope=bot
And youâre done! At least with the application part.
NOW WE MOVE ON TO THE CODING PART. [Note: This is in JS because I love JS. Someday I might do a guide for Python too but we will see.]
The basic things you need: 1. Visual Studio Code 2. Node JS
You can see how to download either one from HERE.
Then, you will need to download discord.js.
Create a folder for your discord bot things, and then open up Visual Studio Code.
Create a new file called index.js and this will be your main page, where you get your bot running. The basic codes inside it would be:
TOKEN:Â Remember that token that I said you canât tell anyone? Yeah, put it in there like client.login(âIWEUTWEITUâ)Â where that keysmash is your token.
From here, if youâre using Visual Studio Code, just go to your console.
NOTE:Â If you do not know where to find the console, follow this:
Click Terminal from the top tab > New Terminal. This will pull up the console for you.
Make sure that the directory of your terminal is the place where your index.js file is at. If not, you can always use ls to list the different folders in that directory and cd to change into that directory as shown below:Â
My terminal was in the Github folder and I used ls to list all the folders in the Github folder. From there, I can see the cafe-bot folder where my hello.js file is located in. So I used cd cafe-bot to move into that folder.
From there, type npm install discord.js
Once youâre done with that, once again, type node index.js.
[Sometimes you might run into errors that let you know that âThe term node is not recognized as the name of a cmdletâ. This either means that you have NOT installed Node JS, in which you can go to this post to see how to do it HERE OR you might have some issues with directories in which you can look at this: https://www.youtube.com/watch?v=pg4t48BPmh8]
You should see âBot is ready!â and with that, your bot is up!
Go ahead, explore it, enjoy it! You can do it!
#discord bot#discord js#discord.js#js#javascript#discord application#business guides#discord guide#discord beginner#coding#discord
83 notes
·
View notes
Text
personally i got into programming after i started making discord bots using javascript with my friend teaching me but if that's not for you then you can also try web development since html/css ain't that hard to learn here are some resources for both:
Javascript introduction from w3schools.com Introduction to HTML from w3schools.com A complete Beginners Guide to Javacscript Introduction to discord.js Visual studio code (you can use this to write code)
(if anyone has any more resources please feel free to share them)
I donât usually talk about coding on main, but I really think people would enjoy it more if they were taught what they could do as well as how to code. Like you can build anything. Anything at all you could possibly want. Programming can be a creative medium for the logically minded, and coding classes almost never actually embrace that.
Iâve built so many projects just from silly jokes. Made a whole joke text adventure game about being trapped in an elevator with some game characters. The discord bots I maintain to this day started as âhaha what if [Game NPC] was in our serverâ. If an idea strikes me as fun Iâll code it, the same way an artist will draw a silly doodle or a writer will write a funny joke fic. Itâs not just a get a job skill, you actively create things with code. So create! And have fun doing it!
I really think thatâs the secret to truly enjoying programming. I love it, itâs a passion of mine. And itâs all because my first teacher set me free to create with it. He would let me expand on assignments however I wanted when I finished early and encouraged exploring what else I could do. If more people taught coding like that, I think there would be so many more who shared my passion for it.
1K notes
·
View notes
Text
Introducing Applepaw, Discordâs cutest catbot.
Applepaw is a rapidly-growing Discord bot which offers character customization commands as well as random generator commands for Warrior Cats (and more recently, Minecraft and Animal Crossing!)

I wrote Applepaw in the summer of 2018 to help some of my friends with their Warrior Cats character creation. Since then she has grown to serve 1100+ servers and 120k+ users!


You can find her full commands list at:
As well as add her to your server with the following link or by typing ap!add in any server you share with Applepaw!
#apologies for formatting i am on mobile!#applepawbot#applepaw#discord#discord bot#warrior cats#warriors#warrior cats bot#warrior cat#discord.js
1 note
·
View note
Text
me after girlbossing my way into beating the ever loving fuck out of discord.js and visual studio code because for some reason when i run node deploy-commands.js like the guide says it doesnt work:
đșđșđș
#the thoughts of mellohyi#discord.js#coding#haha funny laugh#im in so much pain over this why wont it work ffs
1 note
·
View note
Text
0 notes
Text
it could also be because im ending them manually (am lazy)
I wouldn't happen to have any followers who are proficient in discordjs, would I?
26 notes
·
View notes
Text
What code would I use in node.js to make a command that lets users assign themselves roles? Like people gave me a template but where would I plug in the role itself?
3 notes
·
View notes
Text
I
made another bot
And itâs actually kind of a Bot 2.0. Because I TRIED to make this bot back like, 2-3 years ago when I knew less about bot-making. I ended up with just a locally hosted clone of an open-source project, whose source code I tweaked marginally to make the bot do fun things in my favor.
NOW, what Iâve got is a 100% from-scratch reimagining. A full-stack, cloud-hosted, 100% bonafide Bastard of a bot and heâs a moderator of the ABoT Discord.
He has a lot of rad features
For example, he answers questions, and he fetches quotes!
He manages Discord roles, and can assign/unassign you any of the pronoun roles from the server.
And of course, like ANY self-respecting Discord Bot
He Gambles
In conclusion:Â
Heâs a bastard and also im proud of him. Hereâs his github page  https://github.com/phantomrose96/gimcrack2
#shut up chrissy#a breach of trust#abot#a FULLSTACK bastard#hes got a sqlite backend for the gambling stuff#im a simple front-end developer and gimcrack is my guinea pig for adding a db#hes cloud hosted and everything#and hes FROM SCRATCH#i started with a blank file and moved from there#(but credit where credit is due: the Discord.js module is HELLA useful and i cant imagine building a discord bot without using it)#also look at the emoji choice for the spin function
399 notes
·
View notes
Text
space core botâs back [invite]
#I found him and tried to run him for old times' sake and it didn't work so I rewrote the entire codebase from scratch for discord.js v13#I've achieved near-complete feature parity with the original#he uses slash commands now#I'm hosting him on an old computer I had lying around that wasn't being used so uptime should be better now#edit: discord's a piece of shit so global slash commands aren't working#server-specific ones are fine though#i guess if he's in your server and you want the commands lmk and I'll update them for you
4 notes
·
View notes