diff --git a/modules/sasl/README.md b/modules/sasl/README.md index 668ef46d..895bd81d 100644 --- a/modules/sasl/README.md +++ b/modules/sasl/README.md @@ -7,13 +7,13 @@ You can either configure SASL through `!serverset sasl` from an registered and i These commands are to be executed from a registered admin account #### PLAIN -> !serverset sasl plain : +> !serverset sasl plain <username>:<password> #### SCRAM-SHA-1 -> !serverset sasl scram-sha-1 : +> !serverset sasl scram-sha-1 <username>:<password> #### SCRAM-SHA-256 -> !serverset sasl scram-sha-256 : +> !serverset sasl scram-sha-256 <username>:<password> #### EXTERNAL > !serverset sasl external @@ -23,13 +23,13 @@ These commands are to be executed from a registered admin account Execute these against the current bot database file (e.g. `$ sqlite3 databases/bot.db`) #### PLAIN -> INSERT INTO server_settings (, 'sasl', '{"mechanism": "plain", "args": ":"}'); +> INSERT INTO server_settings (<serverid>, 'sasl', '{"mechanism": "plain", "args": "<username>:<password>"}'); #### SCRAM-SHA-1 -> INSERT INTO server_settings (, 'sasl', '{"mechanism": "scram-sha-1", "args": ":"}'); +> INSERT INTO server_settings (<serverid>, 'sasl', '{"mechanism": "scram-sha-1", "args": "<username>:<password>"}'); #### SCRAM-SHA-256 -> INSERT INTO server_settings (, 'sasl', '{"mechanism": "scram-sha-256", "args": ":"}'); +> INSERT INTO server_settings (<serverid>, 'sasl', '{"mechanism": "scram-sha-256", "args": "<username>:<password>"}'); #### external -> INSERT INTO server_settings (, 'sasl', '{"mechanism": "external"}'); +> INSERT INTO server_settings (<serverid>, 'sasl', '{"mechanism": "external"}');