busybox11 / discord-bot

A simple music bot using python :)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invite Links

About the bot

This is a pretty simple music bot writen in Pyhton 3.8.3. It includes:

Category Description
Moderation !ban !unban !kick !mute !warn !warns !announce
Music !play !pause !skip !remove
Chat !help !poll !twitch !profile
Random !toss !roll !meme !poke
Weather !weather

Libraries version

Library discord discord.py PyNaCl requests wheel youtube-dl
Version 1.0.1 1.4.1 1.4.0 2.24.0 0.34.2 2020.6.16.1

About the announce command

This command allows you to broadcast announcements.
If it contains the following links, the announce will contain a special field:

Link Type Field content
Github Repo Description / Topics / Stars / Views
Discord Invites Server name / Total Members / Total Online Members

If you want to use the code, you'll have to:

About the weather command

This command will give you a city's instant and 5 days forecast.
If you want to use the code, you'll have to:

  • Create a Open>eatherMap API key
  • Replace this part to:
    def get_cast(city, forecast=False):
        key = "API_Key"
        if forecast:
            return rget(f"http://api.openweathermap.org/data/2.5/forecast?q={city}&units=metric&APPID={key}").json()
        data  = rget(f"http://api.openweathermap.org/data/2.5/weather?q={city}&units=metric&APPID={key}").json()

About the twitch command

This command allows you to search for streams by specifying a category and words.
If you want to use the code, you'll have to:

About

A simple music bot using python :)

License:MIT License


Languages

Language:Python 100.0%