Giter Site home page Giter Site logo

alexandrecollet / accuweather-discordbot Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 211 KB

A really simple bot to display current conditions for a specific location.

License: Apache License 2.0

Python 100.00%
discord discord-bot discord-py accuweather weather

accuweather-discordbot's Introduction

AccuWeather-DiscordBot

A really simple bot to display current conditions for a specific location.

accuweather_discordbot

Usage

Commands for this bot follow this structure: @AccuWeatherBotName command [argument].

Command Description
@AccuWeatherBotName current_conditions [location_key] Display current conditions for a specific location.

Installation

With Docker

The easiest way to run this bot is through Docker with this command:

$ docker run --env DISCORD_TOKEN=*** --env ACCUWEATHER_API_KEY=*** raftorn/accuweather-discordbot

Manually

Otherwise, you can run the following commands:

$ git clone https://github.com/AlexandreCollet/AccuWeather-DiscordBot.git
$ cd AccuWeather-DiscordBot
$ pip3 install -r requirements.txt
$ vim settings.py
$ python3 main.py

Configuration

  • DISCORD_TOKEN: Secret token of your discord bot application
  • ACCUWEATHER_API_KEY: Your personal AccuWeather API Key
  • (optional) LANGUAGE: String indicating the language in which to return the messages. The complete list here.

accuweather-discordbot's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

accuweather-discordbot's Issues

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.