Coder Social home page Coder Social logo

Golu's Projects

bot icon bot

The community bot for the Python Discord community

bot.js icon bot.js

const Discord = require('discord.js'); const client = new Discord.Client(); client.on('ready', () => { console.log('I am ready!'); }); client.on('message', message => { if (message.content === 'ping') { message.reply('pong'); } }); // THIS MUST BE THIS WAY client.login(process.env.BOT_TOKEN);//BOT_TOKEN is the Client Secret

bot.jss icon bot.jss

const Discord = require('discord.js'); const client = new Discord.Client(); client.on('ready', () => { console.log('I am ready!'); }); client.on('message', message => { if (message.content === 'ping') { message.reply('ping'); } }); // THIS MUST BE THIS WAY client.login(process.env.708919544437014538);//BOT_TOKEN is the Client Secret

invite-manager icon invite-manager

Invite manager is an open-source discord bot that allows you to track the invites of people who join your server.

modbot-2 icon modbot-2

A supper laggy and buggy moderation Discord bot, to be hosted on Heroku, legit af

musicbot-1 icon musicbot-1

A Discord music bot with a clean interface, and that is easy to set up and run yourself

node-js-sample icon node-js-sample

This repository is deprecated. Head over to https://github.com/heroku/node-js-getting-started

package.json icon package.json

Get started Hosting a Discord.js bot for free using Heroku Mason Spring Mason Spring Aug 21, 2018 · 3 min read Introduction If you’ve used Discord for any substantial amount of time, you’ve probably interacted with a Discord bot. A Discord bot is an artificial user, one which can interact with normal Discord users through code. In this article I will be teaching you how to create an extremely basic Discord bot using Discord.js and hosting it, for free, on Heroku. Requirements A Discord Account A GitHub Account A Heroku Account Although this is all you need, I would also recommend that you grab the following: A JavaScript Code Editor (I prefer Brackets) Node.js Part 1: Creating Your Bot on Discord Step 1: Open the following link Step 2: Create a new application Step 3: Give your application a new name and image Step 4: Under the Bot tab, click Add Bot Step 5: Copy your Client ID and Secret to another location. Step 6: Invite your bot to a server using the following link: https://discordapp.com/oauth2/authorize?&client_id=YOUR_CLIENT_ID_HERE&scope=bot&permissions=0 Replace YOUR_CLIENT_ID_HERE with your Client ID Part 2: Creating the GitHub Repository Step 1: Create a new repository on GitHub. Step 2: Add a new file, bot.js containing the following: const Discord = require('discord.js'); const client = new Discord.Client(); client.on('ready', () => { console.log('I am ready!'); }); client.on('message', message => { if (message.content === 'ping') { message.reply('pong'); } }); // THIS MUST BE THIS WAY client.login(process.env.BOT_TOKEN);//BOT_TOKEN is the Client Secret Step 3: Add a new file, nam{ "name": "ModMail", "desicription": "Dm For Help!", "version": "0.0.0", "main": "bot.js", "scripts": { "start": "node bot.js" }, "dependencies": { "discord.js": "11.1.0", "request": "2.81.0" } }

sunny icon sunny

Discord.py bot for moderation, osu! and various other things.

tutbot icon tutbot

Hey gamers! If you're here you've probably watched my youtube tutorial series on discord.py bots!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.