# usermod -aG disk <user>
# vim /etc/polkit-1/rules.d/10-udisks2.rules
ADD THE FOLLOWING
// See the polkit(8) man page for more information
// about configuring polkit.
# usermod -aG disk <user>
# vim /etc/polkit-1/rules.d/10-udisks2.rules
ADD THE FOLLOWING
// See the polkit(8) man page for more information
// about configuring polkit.
Nim is a (pretty obscure) "statically typed compiled systems programming language". It's unique because the syntax is very reminiscent of Python, while being a compiled language (; anyone?), hence making it accessible to Python devs. Now let's cut to the chase - how to install this:
(Powershell only)
choco install nim| # Only tested on Windows 10 | |
| # ------------------------- | |
| # Here is a basic discord.py bot | |
| import discord | |
| from discord.ext import commands | |
| from socket import create_connection | |
| client = commands.Bot(command_prefix = "your prefix") | |
| token = "bot token" |