Paste Active Pastes
  • 1​// Returns the mask array if b is a ban, returns an empty array otherwise.
    2​private String[] masksIfBan(Ban b) {
    3​ if (!b.isBan()) return new String[0];
    4​ return b.masks();
    5​}
    • Mar 1 2017, 22:21
    • 5 Lines
  • 1public class Ban {
    2private String[] items;
    3
    4// contructor
    5public Ban(String content) {
    6...
    • Feb 22 2017, 15:28
    • 56 Lines
    • Java
  • 1#!/usr/bin/php
    2<?php
    3include './Core/BotCore.php';
    4/** ExampleProgramm.example.php
    5* <Beschreibung des Programms einsetzen>
    6
    7...
    • Aug 10 2016, 23:05
    • 16 Lines