Skip to content

Conversation

deathspawn
Copy link

How to trigger bitbotctl commands

If the command requires extra arguments, you must put quotes around the command and arguments, like so:

./bitbotctl command "raw <server> JOIN <channel>"

Otherwise, just do:

./bitbotctl command <command>

# How to trigger bitbotctl commands
If the command requires extra arguments, you must put quotes around the command and arguments, like so:

`./bitbotctl command "raw <server> JOIN <channel>"`

Otherwise, just do:

`./bitbotctl command <command>`
Comment on lines +27 to +30
if not line == None:
return "Sent: " + line.parsed_line.format()
else:
return "Line was filtered"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't it be better just to assure() the line so it bypasses filtering altogether?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants