A Medusa module (plugin) for NadekoBot.
- Waifu Pics: Fetches anime images and reaction gifs from waifu.pics.
- Weather: Provides current weather and 5-day forecasts using OpenWeatherMap.
.hug [@user]- Hug someone..kiss [@user]- Kiss someone..pat [@user]- Pat someone..cuddle [@user]- Cuddle someone..wave [@user]- Wave at someone..waifu- Get a random waifu image..neko- Get a random catgirl image..shinobu- Get a random Shinobu image..megumin- Get a random Megumin image.
.weather <location>- Top level command shows the current weather for a specified location..forecast <location>- Shows a 5-day weather forecast for a specified location.
To use the weather commands, you must obtain an API key from OpenWeatherMap and set it as an environment variable named OPENWEATHERMAP_API_KEY before starting your bot.
export OPENWEATHERMAP_API_KEY="your_api_key_here"If you are running the bot as a systemd service, follow these steps to set the environment variable:
-
Edit your service file (usually located at
/etc/systemd/system/nadekobot.service):sudo nano /etc/systemd/system/nadekobot.service
-
Add the
Environmentdirective under the[Service]section:[Service] ... Environment="OPENWEATHERMAP_API_KEY=your_api_key_here" ...
-
Reload the systemd daemon and restart the service for changes to take effect:
sudo systemctl daemon-reload sudo systemctl restart nadekobot
-
Open your terminal and navigate to the directory containing your bot's root folder.
-
Run the following command to download and extract the module:
mkdir -p nadekobot/output/data/medusae/NorthShirahebi && curl -sL https://github.com/cataclym/NorthShirahebi/releases/latest/download/NorthShirahebi.tar.gz \ | tar xzv -C nadekobot/output/data/medusae/NorthShirahebi
-
Start your bot.
-
Load the module by running:
.meload NorthShirahebi