mirror of https://gitlab.com/litecord/litecord.git
Compare commits
3 Commits
fb9136d21d
...
d15232ec33
| Author | SHA1 | Date |
|---|---|---|
|
|
d15232ec33 | |
|
|
61ca9ab7bc | |
|
|
9347bc2a26 |
|
|
@ -16,4 +16,3 @@ 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/>.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -110,6 +110,7 @@ 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.
|
||||||
|
|
|
||||||
|
|
@ -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, exit
|
from sys import argv
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
|
|
||||||
from quart import Quart
|
from quart import Quart
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue