IRC Bot not regoconizing commands without arguments

I’m working on a PHP bot for my IRC channel. It works extremely well, but I have one problem that I just can’t figure out. For commands that don’t take arguments, gluxonbot doesn’t recognize them. For example, in the code below, entering “.time” in the channel won’t work, however “.time bob” works fine.

I’ve been scratching my head for days trying to figure out what the problem is. If any of you could look at it, thanks.

Sponsor our Newsletter | Privacy Policy | Terms of Service