Simp-O-Matic

Dumb Discord bot in TS.
git clone git://git.knutsen.co/Simp-O-Matic
Log | Files | Refs | README | LICENSE

commit b53f9450f155177efa4ff17d7d9217686fff3ad4
parent eec1d1fd81e27f3705db9fcd59d9d62a0a8f6cef
Author: Demonstrandum <moi@knutsen.co>
Date:   Mon, 23 Mar 2020 14:10:58 +0000

Shameful spelling.

Diffstat:
Mlib/commands/weather.ts | 4++--
Mlib/utils.ts | 1-
2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/lib/commands/weather.ts b/lib/commands/weather.ts @@ -48,8 +48,8 @@ export default (home_scope: HomeScope) => { .setDescription(d.weather[0].description) .setThumbnail(`https://openweathermap.org/img/wn/${d.weather[0].icon}@2x.png`) .addFields( - { name: 'day-time', value: d.main.temp_max + '°C', inline: true }, - { name: 'night-time', value: d.main.temp_min + '°C', inline: true }, + { name: 'daytime', value: d.main.temp_max + '°C', inline: true }, + { name: 'nighttime', value: d.main.temp_min + '°C', inline: true }, { name: 'humidity', value: d.main.humidity + '%', inline: true }, { name: 'wind', value: `${directions[Math.round(d.wind.deg / 45)]} ${d.wind.speed} m/s`, inline: true }) : new MessageEmbed() diff --git a/lib/utils.ts b/lib/utils.ts @@ -3,7 +3,6 @@ import deep_clone from 'deepcopy'; import { HELP_SECTIONS, KNOWN_COMMANDS } from './main'; import './extensions'; -import prefix from './commands/prefix'; export const deep_copy = deep_clone;