Simp-O-Matic

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

info.js (677B)


exports.info = function(substance) {
  return `{
		substances(query: "${substance}") {
			name
			addictionPotential
			class {
				chemical
				psychoactive
			}
			tolerance {
				full
				half
				zero
			}
			# routes of administration
			roas {
				name

				dose {
					units
					threshold
					heavy
					common { min max }
					light { min max }
					strong { min max }
				}

				duration {
					afterglow { min max units }
					comeup { min max units }
					duration { min max units }
					offset { min max units }
					onset { min max units }
					peak { min max units }
					total { min max units }
				}

				bioavailability {
					min max
				}
			}
		}
	}`;
};