Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

License

NotificationsYou must be signed in to change notification settings

AlexandreCollet/AccuWeather-DiscordBot

Repository files navigation

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].

CommandDescription
@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 listhere.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp