Squid-Plugins icon indicating copy to clipboard operation
Squid-Plugins copied to clipboard

ValueError: could not convert string to float: 'say'

Open dannymichel opened this issue 6 years ago • 0 comments

.scheduler repeat test say test 10s

[27/04/2018 21:29] ERROR red on_command_error 369: Exception in command 'scheduler repeat'
Traceback (most recent call last):
  File "lib/discord/ext/commands/core.py", line 50, in wrapped
    ret = yield from coro(*args, **kwargs)
  File "/home/varmag/redbot/cogs/scheduler.py", line 310, in _scheduler_repeat
    await self._add_centralized(ctx, name, time_interval, command, True)
  File "/home/varmag/redbot/cogs/scheduler.py", line 349, in _add_centralized
    interval = _parse_time(interval)
  File "/home/varmag/redbot/cogs/scheduler.py", line 79, in _parse_time
    time = sum(map(_timespec_sec, filter(None, time)))
  File "/home/varmag/redbot/cogs/scheduler.py", line 97, in _timespec_sec
    return float(atoms[0]) * length
ValueError: could not convert string to float: 'say'

dannymichel avatar Apr 27 '18 21:04 dannymichel