Skip to content

Commit

Permalink
Remove inconsistent punctuation from command output (#187)
Browse files Browse the repository at this point in the history
Signed-off-by: Bradley Reynolds <[email protected]>
  • Loading branch information
shenanigansd authored Oct 26, 2023
1 parent 1f6fccf commit 877694d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/bot/exts/dragonfly/dragonfly.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,10 +236,10 @@ async def scan_loop_error(self: Self, exc: BaseException) -> None:
async def start(self: Self, ctx: commands.Context) -> None:
"""Start the scan task."""
if self.scan_loop.is_running():
await ctx.send("Task is already running.")
await ctx.send("Task is already running")
else:
self.scan_loop.start()
await ctx.send("Started task...")
await ctx.send("Started task")

@commands.has_role(Roles.vipyr_security)
@commands.command()
Expand All @@ -248,12 +248,12 @@ async def stop(self: Self, ctx: commands.Context, force: bool = False) -> None:
if self.scan_loop.is_running():
if force:
self.scan_loop.cancel()
await ctx.send("Forcing shutdown...")
await ctx.send("Forcing shutdown")
else:
self.scan_loop.stop()
await ctx.send("Executing graceful shutdown...")
await ctx.send("Executing graceful shutdown")
else:
await ctx.send("Task is not running.")
await ctx.send("Task is not running")

@discord.app_commands.checks.has_role(Roles.vipyr_security)
@discord.app_commands.command(name="lookup", description="Scans a package")
Expand Down

0 comments on commit 877694d

Please sign in to comment.