During program startup, the equivalent of setlocale(LC_ALL, "C"); is executed before any user code is run.
>>> import locale
>>> locale.format_string('%f', 3.14)
'3.140000'
>>> locale.setlocale(0, '')
'Russian_Russia.1251'
>>> locale.format_string('%f', 3.14)
'3,140000'
if not q.empty():
msg = q.get_nowait()
try:
msg = q.get_nowait()
except Empty: #очередь пуста, спим дальше.
await asyncio.sleep(1.0)
else:
await sendmsg(msg)
q.task_done()
.channel
The channel that the message was sent in
Type: TextChannel or DMChannel or NewsChannel
(message.channel instanceof TextChannel) && (message.channel.name == 'wtf_channel')