Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added ".replit" and "Procfile" file(s) for Replit and Heroku deploy(s) #10

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .replit
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
language = "nodejs"
run = "node ."
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
worker: node .
14 changes: 7 additions & 7 deletions commands/botinfo.js
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
var fs = require('fs');
const Discord = require('discord.js')


module.exports.run = async (client, message, msg, args) => {

message.channel.startTyping();
let member = message.author


let embed = new Discord.RichEmbed()
.setTitle("Bot Information")
.setTitle("Bot Information")
.setColor("RANDOM")
.setDescription("Shows the bot's information")
.setDescription("Bot information can be found below")
.addField("Developer/Owner:","Itz_Someone!#5148")
.addField("Date Released:","N/A (still to come!)")
.addField("Language Created in:","Was Created in discord.js")
.addField("Bot is currently in:", client.guilds.size + " Servers!")
.addField("Members that are currenlty using the bot:", client.users.size + " Members" )
.addField("Members that are currently using the bot:", client.users.size + " Members" )
.setFooter("Just a Testing bot that is all!")
message.channel.send(embed)
message.channel.send(embed);
message.channel.stopTyping();
}


module.exports.help = {
"name": "botinfo"
}