GithubHelp home page GithubHelp logo

sturdy-lidbot's Introduction

Python Discord Bot For lids

Description

This is a python discord bot for lids, made for use in our private server. It was adapted from @kkrypt0nn's bot template.

It has had some features added sofar such as dogecoin price, random cat pictures, flipping text, a quote system and a couple of ham radio related commands.

lidbot uses code and the list of known reddit hams from @molo1134's qrmbot irc bot in some commands. this portion of the code is under the BSD 2-clause license, a copy of which is located in qrmbot.LICENSE.md. My bot in general draws heavy inspiration from his amazing bot project and code is used with permission.

lidbot uses APRS (Amateur Packet Reporting System) data from aprs.fi's API

Commands

Commands in General Cog

!info - Get some useful (or not) information about the bot.
!serverinfo - Get some useful (or not) information about the server.
!ping - Check if the bot is alive.
!ding - Check if the dong is alive.
!poll - Create a poll where members can vote.
!8ball - Ask any question to the bot.
!btc - Usage: !bitcoin <currency> - Gets the current price of bitcoin.
output defaults to USD.
!doge - usage: !doge <currency> - Gets the current price of dogecoin.
output defaults to USD *TO THE MOON*.
!cat - Fetch a random cat pic from r/catpics on reddit.
!stonk - Usage: !stonk <code> 
Get some info about a stonk from its ticker code.
!gonk - Gonk.
!apod - Uses NASA api to fetch the astronomy picture of the day.
!wx - Usage: !wx <location>
Fetch the weather for the place requested.
!ask - Usage: !ask <input> 
Give a question, some math, whatever; get answer back hopefully.
!exchange - Usage: !exchange <value> <sourcecurrency> <outputcurrency>
For example !exchange 56 AUD USD
Converts an amount of currency to another.
!spacex - Get info on next SpaceX launch.
!reverse - Usage: !reverse <input text>
Reverse text.
!missyelliot - Usage: !missyelliot <input text>
Put your thang down, flip it and reverse it.
!addquote - Add a quote (server specific)
Usage: !addquote MessageID (Dev option in context menu)
   Or: !addquote MessageURL (copy message link in context menu on message you want to quote)
   Or: !addquote <DisplayName> quotetext (Display Name must be inside '<' and '>' if there are spaces in the name otherwise optional)
!quote - Display a quote (server specific)
Usage: !quote
   Or: !quote <quotenumber>
!quotesearch - Find a quote (server specific). Returns quotes via DM
Usage: !quotesearch <keyword>
!setgeo - Usage: !setgeo <location>
Set your location. location can be text (eg: "Melbourne vic"), decimal coords (eg: "-37.8136,144.9631", or grid square (eg: "QF22qf").)
This will mean you don't need to input your location when using !wx unless you want a different location.
!getgeo - Usage: !getgeo <location>
Check your saved location. this will be sent to you as a DM
!roll - Usage: !roll <args>
Roll dice. or flip coins. examples: "!roll 4d6 +5" "!privateroll d20" "!coin" "!d6" etc.
!jjj - Usage: !jjj
Returns currently playing song on Triple J

Commands in Help Cog

!help - List all commands from every Cog the bot has loaded.

Commands in Owner Cog

!shutdown - Make the bot shutdown
!say - The bot will say anything you want.
!embed - The bot will say anything you want, but within embeds.
!blacklist - Lets you add or remove a user from not being able to use the bot.

Commands in Ham Cog

!bands - Fetch an image about HF band conditions.
!solar - Fetch an image about solar conditions.
!dmr - Usage: !dmr <callsign/dmrid> - Get DMR ID from callsign, or vice-versa
!morse - Usage: !morse <message> - Convert input text to morse code.
!demorse - Usage: !demorse <message in -- --- .-. ... . / -.-. --- -.. .> 
Convert morse code input to text.
!qrz - Usage: !qrz <callsign> - Lookup callsign on qrz.com
!dxcc - Usage: !dxcc <prefix/callsign/dxccnumber> - Lookup dxcc from
number, callsign or prefix
!aprs - Usage: !aprs <callsign-SSID>
Fetch latest APRS data for callsign-SSID from aprs.fi
eg: !aprs VK3DAN-9

Commands in Gonkphone Cog

!phonebook - Usage: !phonebook <query>
Look up a GONK subscriber's gonknumber by number, name, callsign, or partial name/callsign. (If called without a query it will DM you the full list)

Authors

License

This project is licensed under the Apache License 2.0 (except for the qrz portion of qrmbot that is mentioned above) - see the LICENSE.md file for details

sturdy-lidbot's People

Contributors

vk3dan avatar

Stargazers

 avatar

Watchers

 avatar

sturdy-lidbot's Issues

quote feature

Add feature for saving and displaying quotes on a per-server basis

feature request: line-conservative bang commands

Delete the input lines for !commands and present their output as a webhook which mimics the requester where applicable. Also consider implementing the same, but with slash (/command) command input.

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.