This repository is forked from Chembot🐙
And the bot is available on chembot - Replit💪
Chembot is a chemistry discord bot built on the Python package chemlib that provides easy access to element data and quickly performs calculations.
Mainly changed to accommodate changing specification after discord.py version 2.0.
Bot.load_extension
after discord.py version 2.0.(ref: python - "RuntimeWarning: coroutine 'BotBase.load_extension' was never awaited" after updating discord.py - Stack Overflow)quiz.py
, because the extension did not work by an error about PyPDF.token.txt
to set bot token for security reason to work as replit machine. and, using an environment variable via a replit feature secret
instead.Command Prefix: -
Displays help message.
Usage: -help
Displays properties of requested element by symbol.
Usage: -elem <symbol>
Gets the molar mass of a compound, and performs optional calculations.
Usage: -cmpd <formula/trival name>
Additional Parameters (accepts abbreviations):
--amount <number and units>
--composition <elem symbol>
--structural-formula
--get-smiles