Coverage for cmds/others.py: 27%
Shortcuts on this page
r m x toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
Shortcuts on this page
r m x toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1"""
2others.py
4includes misc. commands
5"""
7import error
9async def wow(message, *args):
10 """
11 wow()
13 returns wow @user
14 """
16 # check for args
17 if len(args) > 0:
18 raise error.UnknownArgumentError
20 # return wow
21 return f"wow <@{message.author.id}>"
24async def report(*args):
25 """
26 report()
28 does nothing
29 """
31 # fix args
32 args = args[1:]
34 # check for args
35 if len(args) > 0:
36 raise error.UnknownArgumentError
38 # return output
39 return "https://github.com/zwang20/deployment-bot-6/issues"
41async def returnf(*args):
42 """
43 returnf()
45 does nothing
46 """
48 # fix args
49 args = args[1:]
51 # check for args
52 if len(args) > 0:
53 raise error.UnknownArgumentError
55 # return output
56 return "f"