<commit_before>#Basic UserBot used to respond when im offline
#Feel free to use, make sure you give credit. :)
#Created by Sanjay
#Discord.py Library

import discord
from discord.ext import commands
import random
import logging
logging.basicConfig(level=logging.INFO) #Logs command prompt


#Basic Bot Info
description = '''NAME OF BOT'''
prefix = '''PREFIX'''
bot = False
bot = commands.Bot(command_prefix='PREFIX', description=description)


@bot.event
async def on_ready():
    print('------ Logged in as -----')
    print('Username: ' + bot.user.name)
    print('UserID: ' + bot.user.id)
    print('Prefix: ' + prefix)
    print('----- Output -----')



@bot.command(description='ping')
async def ping():
    """Ping"""
    await bot.say('Pong')

@bot.group(pass_context=True)
async def about(ctx):
    """General Info"""
    if ctx.invoked_subcommand is None:
        await bot.say("Invoked About Sub-Command")

@bot.group(pass_context=True)
async def math(ctx):
    """General Info"""
    if ctx.invoked_subcommand is None:
        await bot.say("Invoked Math Sub-Command")
		
@math.command(description='add')
async def add(number1 : int, number2 : int):
	"""Adds numbers"""
	await bot.say(number1 + number2)

@math.command(description='subtract')
async def subtract(number1 : int, number2 : int):
	"""Subtracts numbers"""
	await bot.say(number1 - number2)

@math.command(description='multiply')
async def multiply(number1 : int, number2 : int):
	"""Multiplies numbers"""
	await bot.say(number1 * number2)

@math.command(description='divide')
async def divide(number1 : int, number2 : int):
	"""Divides numbers"""
	await bot.say(number1 / number2)


bot.run("YOUR TOKEN HERE")<commit_msg>Added info and prefix commands<commit_after>#Basic UserBot used to respond when im offline
#Feel free to use, make sure you give credit. :)
#Created by Sanjay
#Discord.py Library

import discord
from discord.ext import commands
import random
import logging
logging.basicConfig(level=logging.INFO) #Logs command prompt


#Basic Bot Info
description = '''NAME OF BOT'''
prefix = '''PREFIX'''
bot = False
bot = commands.Bot(command_prefix='PREFIX', description=description)


@bot.event
async def on_ready():
    print('------ Logged in as -----')
    print('Username: ' + bot.user.name)
    print('UserID: ' + bot.user.id)
    print('Prefix: ' + prefix)
    print('----- Output -----')



@bot.command(description='ping')
async def ping():
    """Ping"""
    await bot.say('Pong')













#General Information module
@bot.group(pass_context=True)
async def about(ctx):
    """General Info"""
    if ctx.invoked_subcommand is None:
        await bot.say("Invoked Information Sub-Command")

@about.command(description='info')
async def info():
	"""General information"""
	await bot.say(
    "This bot-kit was developed by Sanjay#2382.\n",
    "However, please contribute if you can!\n",
    "The bot was writtin in python using the\n",
    "discord.py library.\n",
    "[Support Server](https://discordapp.com/invite/8xmtspU)\n",
    "[Repository](https://sanjay-b.github.io/Sanjay-DiscordBot/)\n",
    )

@about.command(description='prefix')
async def prefix():
    """Bot's Prefix"""
    await bot.say("The prefix is " + prefix)

















#math module
@bot.group(pass_context=True)
async def math(ctx):
    """General Info"""
    if ctx.invoked_subcommand is None:
        await bot.say("Invoked Math Sub-Command")

@math.command(description='add')
async def add(number1 : int, number2 : int):
	"""Adds numbers"""
	await bot.say(number1 + number2)

@math.command(description='subtract')
async def subtract(number1 : int, number2 : int):
	"""Subtracts numbers"""
	await bot.say(number1 - number2)

@math.command(description='multiply')
async def multiply(number1 : int, number2 : int):
	"""Multiplies numbers"""
	await bot.say(number1 * number2)

@math.command(description='divide')
async def divide(number1 : int, number2 : int):
	"""Divides numbers"""
	await bot.say(number1 / number2)

	
	
	
	
	
	

bot.run("YOUR TOKEN HERE")
{'fraction_non_alphanumeric': 0.15430414289258249, 'fraction_numerical': 0.009178863805507318, 'mean_word_length': 4.090909090909091, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5475243', 'n_tokens_mistral': 1303, 'n_tokens_neox': 1275, 'n_words': 356}