Compare commits

..

1 Commits

Author SHA1 Message Date
Bluenix fb9136d21d Merge branch 'addbot-manage' into 'master'
Add 'addbot' manage.py command

See merge request litecord/litecord!84
2022-01-27 04:39:45 +00:00
3 changed files with 2 additions and 2 deletions

View File

@ -16,3 +16,4 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
""" """

View File

@ -110,7 +110,6 @@ async def addbot(ctx, args):
return await generate_bot_token(ctx, args) return await generate_bot_token(ctx, args)
async def set_flag(ctx, args): async def set_flag(ctx, args):
"""Setting a 'staff' flag gives the user access to the Admin API. """Setting a 'staff' flag gives the user access to the Admin API.
Beware of that. Beware of that.

View File

@ -20,7 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
import asyncio import asyncio
import argparse import argparse
import inspect import inspect
from sys import argv from sys import argv, exit
from dataclasses import dataclass from dataclasses import dataclass
from quart import Quart from quart import Quart