Module db_adapter::slap[][src]

Expand description

Interface for the slap system

Botanist includes a moderation system called Slapping. It serves the purpose of giving warnings to members and keeping a record of all of these warnings in a simple way.

Errors

All methods of this module which return a Result do so because sql querries through to the database may fail. As such you should handle AdapterError::SqlxError. Because it is part of the signature of most methods errors are undocumented if they only return a database error. Otherwise an Error section is provided.

Structs

Record of slaps of a guild

Record of slaps of a guild member

A single slap object

Enums

Method through which the slap was issued