Passed
Push — main ( f1bbda...6693a8 )
by Yohann
02:30 queued 14s
created

command.guild_command()   A

Complexity

Conditions 1

Size

Total Lines 2
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nop 2
dl 0
loc 2
rs 10
c 0
b 0
f 0
1
from pincer import command
2
from pincer.utils import Coro
3
4
from pincer_bot.constants import GUILD_ID
5
6
7
def guild_command(*args, **kwargs) -> Coro:
8
    return command(*args, **kwargs, guild=GUILD_ID)
9