Coder Social home page Coder Social logo

pingbot's Introduction

pingbot

##An IRC utility bot

PingBot is a simple IRC utility bot written in Python3.4!

Usage: python3.4 pingbot.py <config_file> To learn how to make a config file see def.conf

###Commands Pingbot has 2 groups of commands: User Commands and Admin Commands

User Commands can be used by everyone:

!ping : pings the bot

!hex <decimal_number> : converts a decimal to hex format

!uptime : uptime of the bot

!whatis <prog_name> : Linux whatis command

!pony : Will return plot or head

!dice : Will return a random number 1-6

!now : returns current time

!isprime <num> : says num is prime or not

Admin Commands can be used just by admins:

!quit : disconnects bot from IRC

!say <channel|person> <msg> : sends <msg> to <channel|person>

!part <channel> : parts <channel>

!join <channel> : joins <channel>

!add_admin <nick> : adds <nick> to admins list

!remove_admin <nick> : removes <nick> from admins list

!op <nick> : give OP to <nick>

!deop <nick> : takes OP from <nick>

!voice <nick> : give Voice to <nick>

!devoice <nick> : takes Voice from <nick>

!kick <nick> : Kicks <nick>

#Raw Pingbot raw_ping.py is a version of Pingbot without any command except !ping and !help

you may use it to make your own pingbot. if you did please send me a version of it! Thanks!

pingbot's People

Watchers

James Cloos avatar  avatar

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.