#discord.js
Explore tagged Tumblr posts
tembee2 · 1 month ago
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)
1 note · View note
butterflyemporer · 2 years ago
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.
1 note · View note
dailyosc · 8 months ago
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
Tumblr media
what type of things would you like to ask him? (this is NOT AI
Tumblr media
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
guzscode · 9 months ago
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
sanjaythakur1 · 3 months ago
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
yescs2020 · 16 days ago
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
transienturl · 1 year ago
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
cookie-codes · 4 years ago
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!
Tumblr media
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.
Tumblr media
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.
Tumblr media
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!
Tumblr media
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.
Tumblr media
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:
Tumblr media
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.
Tumblr media
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!
83 notes · View notes
posaidon · 1 year ago
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
applepawbot · 5 years ago
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!)
Tumblr media
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!
Tumblr media Tumblr media
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!
1 note · View note
mellohyi · 4 years ago
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:
đŸ•șđŸ•șđŸ•ș
1 note · View note
earlam · 5 years ago
Text
Tumblr media
0 notes
snailmusic · 9 months ago
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
jollysunflora · 7 years ago
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
phantomrose96 · 5 years ago
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!
Tumblr media Tumblr media
He manages Discord roles, and can assign/unassign you any of the pronoun roles from the server.
Tumblr media Tumblr media
And of course, like ANY self-respecting Discord Bot
He Gambles
Tumblr media Tumblr media Tumblr media
In conclusion: 
Tumblr media
He’s a bastard and also im proud of him. Here’s his github page  https://github.com/phantomrose96/gimcrack2
399 notes · View notes
thiccley · 3 years ago
Text
space core bot’s back [invite]
4 notes · View notes